mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
misc: automatic get rid of /etc/profile.d/check_yunohost_is_installed.sh when yunohost is postinstalled
This commit is contained in:
parent
324366a728
commit
20e8805e3b
1 changed files with 5 additions and 0 deletions
|
@ -245,6 +245,11 @@ do_post_regen() {
|
|||
rm -f /etc/dpkg/origins/default
|
||||
ln -s /etc/dpkg/origins/yunohost /etc/dpkg/origins/default
|
||||
fi
|
||||
|
||||
if test -e /etc/yunohost/installed && test -e /etc/profile.d/check_yunohost_is_installed.sh
|
||||
then
|
||||
rm /etc/profile.d/check_yunohost_is_installed.sh
|
||||
fi
|
||||
}
|
||||
|
||||
do_$1_regen ${@:2}
|
||||
|
|
Loading…
Add table
Reference in a new issue