summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-03-26 00:14:53 +0100
committerJonas Smedegaard <dr@jones.dk>2014-03-26 00:14:53 +0100
commit15d363996a35ae073d28fa81cce9658551f9bcb4 (patch)
tree170d69a4a66e2c32f3f4fc6a426ceeb4ff671a8f
parent650b612400b2e7156069ff462b974e9e12005013 (diff)
Fix avoid mark any *lib* package (e.g. libreoffice*) as auto-installed.
-rw-r--r--tweaks/base2
1 files changed, 1 insertions, 1 deletions
diff --git a/tweaks/base b/tweaks/base
index ba451b2..e0572ec 100644
--- a/tweaks/base
+++ b/tweaks/base
@@ -2,7 +2,7 @@
set -e
# fix mark auto-installed packages as such
# tracked at https://bugs.debian.org/730162, https://bugs.debian.org/739938
-chroot /target apt-mark auto $(chroot /target apt-mark showmanual | grep '^lib') acpi acpi-support-base acpid adduser apt apt-utils aptitude-common base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox coreutils cpio cron dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs e2fsprogs findutils fonts-freefont-ttf gcc-4.7-base gnupg gpgv grep groff-base grub-common gzip hostname ifupdown initramfs-tools initscripts insserv install-info iproute isc-dhcp-client isc-dhcp-common keyboard-configuration kmod laptop-detect linux-image-amd64 locales login logrotate lsb-base mawk mount multiarch-support ncurses-base ncurses-bin net-tools netbase netcat-traditional passwd pciutils perl-base procps readline-common rsyslog sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tzdata udev usbutils util-linux uuid-runtime vim-common xz-utils zlib1g
+chroot /target apt-mark auto acpi acpi-support-base acpid adduser apt apt-utils aptitude-common base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox coreutils cpio cron dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs e2fsprogs findutils fonts-freefont-ttf gcc-4.7-base gnupg gpgv grep groff-base grub-common gzip hostname ifupdown initramfs-tools initscripts insserv install-info iproute isc-dhcp-client isc-dhcp-common keyboard-configuration kmod laptop-detect linux-image-amd64 locales login logrotate lsb-base mawk mount multiarch-support ncurses-base ncurses-bin net-tools netbase netcat-traditional passwd pciutils perl-base procps readline-common rsyslog sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tzdata udev usbutils util-linux uuid-runtime vim-common xz-utils zlib1g
# keep backup of any tweaked (i.e. edited or created) config file
_backup(){ set -e
[ -e "$1.orig" ] || if [ -e "$1" ]; then cp -a "$1" "$1.orig"