forked from Kicksecure/usability-misc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new usability wrapper /usr/bin/dpkg-noninteractive
- Loading branch information
Patrick Schleizer
committed
Feb 13, 2020
1 parent
63f96f9
commit b3d775e
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <[email protected]> | ||
## See the file COPYING for copying conditions. | ||
|
||
set -e | ||
|
||
[ -n "$POLICYRCD" ] || POLICYRCD="/usr/share/usability-misc/policy-rc.d" | ||
[ -n "$DEBIAN_FRONTEND" ] || DEBIAN_FRONTEND="noninteractive" | ||
[ -n "$DEBIAN_PRIORITY" ] || DEBIAN_PRIORITY="critical" | ||
[ -n "$DEBCONF_NOWARNINGS" ] || DEBCONF_NOWARNINGS="yes" | ||
[ -n "$APT_LISTCHANGES_FRONTEND" ] || APT_LISTCHANGES_FRONTEND="text" | ||
export POLICYRCD DEBIAN_FRONTEND DEBIAN_PRIORITY DEBCONF_NOWARNINGS APT_LISTCHANGES_FRONTEND | ||
|
||
dpkg --force-confnew "$@" |