moved chmod of config to 20_update

This commit is contained in:
Stian Buch Larsen 2015-08-24 09:29:02 +02:00
parent e10c8f6c98
commit cb97618fcf
3 changed files with 1 additions and 5 deletions

View file

@ -2,7 +2,6 @@
if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
chown abc:abc -R /config
echo "
-----------------------------------
GID/UID

View file

@ -1,3 +0,0 @@
#!/bin/bash
chown abc:abc -R /config

View file

@ -1,6 +1,6 @@
#!/bin/bash
mkdir -p /app
chown abc:abc /app
chown abc:abc /app /config
if [ ! -d /app/headphones/.git ]; then
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones