mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] postrm is called in a lot of various way, deleting the installed flag when it shouldnt
This commit is contained in:
parent
cc3c704ba8
commit
13d5073416
1 changed files with 8 additions and 1 deletions
9
debian/postrm
vendored
9
debian/postrm
vendored
|
@ -1,12 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# See https://manpages.debian.org/testing/dpkg-dev/deb-postrm.5.en.html
|
||||
# to understand when / how this script is called...
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
update-rc.d yunohost-firewall remove >/dev/null
|
||||
rm -f /etc/yunohost/installed
|
||||
fi
|
||||
|
||||
if [ "$1" = "remove" ]; then
|
||||
rm -f /etc/yunohost/installed
|
||||
fi
|
||||
|
||||
rm -f /etc/yunohost/installed
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue