X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=debian%2Fpostrm;h=620b59cbb2d91d4e97fed2c9389dfbef29fae40b;hb=228d7326630123d0fcafcd21e5069f5961e4983a;hp=4827dade2f294222f1d2987bb2e2f695723fc12a;hpb=e21d3d387d6139424953a41140c3384945689829;p=indicator-keyboard-led.git diff --git a/debian/postrm b/debian/postrm index 4827dad..620b59c 100755 --- a/debian/postrm +++ b/debian/postrm @@ -1,5 +1,12 @@ #!/bin/sh -e +if [ -e /usr/share/applications/indicator-keyboard-led.desktop ]; then + rm /usr/share/applications/indicator-keyboard-led.desktop +fi +if [ -e /etc/xdg/autostart/indicator-keyboard-led.desktop ]; then + rm /etc/xdg/autostart/indicator-keyboard-led.desktop +fi + if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge