From 0401fc9ced37a9489791d22210284e0507442c25 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Mon, 16 Nov 2015 09:49:03 +0100 Subject: [PATCH] clean postinst --- simple-cdd/profiles/trc6500.postinst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/simple-cdd/profiles/trc6500.postinst b/simple-cdd/profiles/trc6500.postinst index be7c904..15097e5 100755 --- a/simple-cdd/profiles/trc6500.postinst +++ b/simple-cdd/profiles/trc6500.postinst @@ -19,17 +19,15 @@ echo 'force-confnew' > /etc/dpkg/dpkg.cfg.d/trc6500 # now we unpack our master archive and replace all those conf files and scripts and things echo 'Unpacking master config files...' dpkg -i /media/cdrom/simple-cdd/trc6500-master-file* # version-proof -chown root /etc/cron.d/getswitchtemp -chown root /root/bin/get_switch_temperature echo 'Files unpacked' echo 'Adding TRC6500 public key to keyring...' cat /media/cdrom/simple-cdd/TRC6500.pub | apt-key add - echo 'Key added' -echo 'Removing exim packages...' -dpkg -l | awk '/exim/ {print $2}' | xargs dpkg --purge -echo 'Exim remove +#echo 'Removing exim packages...' +#dpkg -l | awk '/exim/ {print $2}' | xargs dpkg --purge +#echo 'Exim remove # our interfaces file gets written over for some reason, we'll copy it and restore it on first boot # note : after install, we'll be executing our own rc.local on first boot -- 2.30.2