mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Indent postinst script uniformly
This commit is contained in:
parent
f8eced728c
commit
cb557c1a21
1 changed files with 5 additions and 5 deletions
10
debian/postinst
vendored
10
debian/postinst
vendored
|
@ -4,21 +4,21 @@ TMP=/usr/share/yunohost/yunohost-config/moulinette
|
|||
|
||||
if [ ! -d /etc/yunohost ];
|
||||
then
|
||||
mkdir -p /etc/yunohost
|
||||
mkdir -p /etc/yunohost
|
||||
fi
|
||||
|
||||
# Allow users to access /media directory
|
||||
if [ ! -d /etc/skel/media ];
|
||||
then
|
||||
mkdir -p /media
|
||||
ln -s /media /etc/skel/
|
||||
mkdir -p /media
|
||||
ln -s /media /etc/skel/
|
||||
fi
|
||||
|
||||
#Firewall
|
||||
grep -q "UPNP:" /etc/yunohost/firewall.yml > /dev/null 2>&1
|
||||
if [[ $? -eq 0 ]] || [ ! -f /etc/yunohost/firewall.yml ];
|
||||
then
|
||||
cp $TMP/firewall.yml /etc/yunohost/
|
||||
cp $TMP/firewall.yml /etc/yunohost/
|
||||
fi
|
||||
|
||||
# App fetchlist
|
||||
|
@ -30,7 +30,7 @@ fi
|
|||
# Service list
|
||||
if [ ! -f /etc/yunohost/services.yml ];
|
||||
then
|
||||
cp $TMP/services.yml /etc/yunohost/
|
||||
cp $TMP/services.yml /etc/yunohost/
|
||||
fi
|
||||
|
||||
# Stop old API
|
||||
|
|
Loading…
Add table
Reference in a new issue