moved chmod of config to 20_update
This commit is contained in:
parent
e10c8f6c98
commit
cb97618fcf
3 changed files with 1 additions and 5 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
|
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
|
if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
|
||||||
chown abc:abc -R /config
|
|
||||||
echo "
|
echo "
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
GID/UID
|
GID/UID
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
chown abc:abc -R /config
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p /app
|
mkdir -p /app
|
||||||
chown abc:abc /app
|
chown abc:abc /app /config
|
||||||
|
|
||||||
if [ ! -d /app/headphones/.git ]; then
|
if [ ! -d /app/headphones/.git ]; then
|
||||||
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones
|
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones
|
||||||
|
|
Loading…
Add table
Reference in a new issue