X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=simple-cdd%2Fprofiles%2Ftrc6500.postinst;h=43bb17857bf44ab4bc6394149adeb96df978884b;hb=4e3ad0da046dbd2ab977fae9ddd677fab9e8e2fd;hp=15097e5971eb479917252ef8a4f4743b06556c1d;hpb=0401fc9ced37a9489791d22210284e0507442c25;p=debian6500.git diff --git a/simple-cdd/profiles/trc6500.postinst b/simple-cdd/profiles/trc6500.postinst index 15097e5..43bb178 100755 --- a/simple-cdd/profiles/trc6500.postinst +++ b/simple-cdd/profiles/trc6500.postinst @@ -25,9 +25,10 @@ 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 --remove bsd-mailx +find /media/cdrom0 -name libgnutls-openssl\*_\* -o -name ssmtp_\* -o -name bsd-mailx_\* | xargs dpkg --install +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 @@ -42,4 +43,7 @@ rm -r /usr/local/simple-cdd rm -r /etc/dpkg/dpkg.cfg.d/trc6500 echo 'Files deleted' +echo 'Umount cdrom' umount /media/cdrom + +exit 0