Browse Source

Move updates-alternatives --remove to prerm.

Recommended by https://lintian.debian.org/tags/maintainer-script-should-not-use-update-alternatives-remove.html
tags/devuan/1.3.6-5.1+devuan6
Mark Hindley 9 months ago
parent
commit
9f837def0a
2 changed files with 2 additions and 2 deletions
  1. +0
    -2
      debian/slim.postrm
  2. +2
    -0
      debian/slim.prerm

+ 0
- 2
debian/slim.postrm View File

@@ -14,8 +14,6 @@ if [ "$1" = "purge" ] ; then
update-rc.d slim remove >/dev/null
fi

update-alternatives --remove desktop-slim-theme /usr/share/slim/themes/default


#DEBHELPER#



+ 2
- 0
debian/slim.prerm View File

@@ -60,6 +60,8 @@ if [ "$1" = "remove" ]; then
fi
fi

update-alternatives --remove desktop-slim-theme /usr/share/slim/themes/default

#DEBHELPER#

exit 0

Loading…
Cancel
Save