X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=28f52e563df01862262c981d6547cc74345c6c0f;hb=HEAD;hp=13374b361f68ebffde6398488d4b89beb8d90ef9;hpb=8485a58b8bcc5205c18cf8c3f65386c9e70b7dd0;p=kernel-cn.git diff --git a/debian/postrm b/debian/postrm index 13374b3..dac7650 100755 --- a/debian/postrm +++ b/debian/postrm @@ -1,5 +1,5 @@ #!/bin/sh -# postrm script for kernel-2.6-cn +# postrm script for kernel-cn # # see: dh_installdeb(1) @@ -35,29 +35,18 @@ esac ################################################################################ -echo -n "CN: Cleaning up..." +### zakomentirano jer više ne želimo brisati postavke nakon brisanja paketa (2023-07-05) +###echo -n "CN: Cleaning up..." -# remove us from limits.conf -cp-update -r kernel-2.6-cn /etc/security/limits.conf -echo -n " limits" +#### remove us from limits.conf +###cp-update -r kernel-cn /etc/security/limits.conf +###echo -n " limits" -# remove us from modules -cp-update -r kernel-2.6-cn /etc/modules -echo -n " modules" +#### remove us from modules +###cp-update -r kernel-cn /etc/modules +###echo -n " modules" -echo "." - -################################################################################ - -DIVERT_TO="grub grub-probe" - -echo -n "CN: Undiverting binaries:" -for i in $DIVERT_TO; do - dpkg-divert --remove --rename --package 'kernel-2.6-cn' \ - --divert /usr/sbin/$i.real /usr/sbin/$i >/dev/null - echo -n " $i" -done -echo "." +###echo "." # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.