Commit 38eaa308 authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Remove calamares icon

parent 90b5677e
aims-live (2017.2.20180919.1) stretch; urgency=medium
* Add divert to remove default calamares desktop entry from live session
-- Jonathan Carter <jcc@debian.org> Wed, 19 Sep 2018 13:38:00 +0200
aims-live (2017.2.20180913.1) stretch; urgency=medium
* Fix splash option in /etc/default/grub
......
......@@ -14,4 +14,12 @@ chmod 0755 /
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/' /etc/default/grub
update-grub
case "$1" in
remove)
# Restore original Calamares icon
dpkg-divert --quiet --rename --package aims-live \
--remove /usr/share/applications/calamares.desktop
;;
esac
exit 0
#!/bin/sh
set -e
case "$1" in
install|upgrade)
cleanup_and_divert() {
# Play it safe because diverts can go wrong
if [ -f $1.orig ]; then
mv $1.orig $1
fi
dpkg-divert --quiet --package aims-live \
--divert $1.orig --rename $1
}
# Calamares .desktop file
cleanup_and_divert /usr/share/applications/calamares.desktop
;;
esac
#DEBHELPER#
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment