mirror of
https://github.com/casjaysdevdocker/sqlite
synced 2025-01-18 00:34:30 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
parent
b34edeab56
commit
38c8632b19
@ -532,7 +532,7 @@ __create_service_user() {
|
|||||||
fi
|
fi
|
||||||
grep -qs "$create_group" "/etc/group" || exitStatus=$((exitCode + 1))
|
grep -qs "$create_group" "/etc/group" || exitStatus=$((exitCode + 1))
|
||||||
grep -qs "$create_user" "/etc/passwd" || exitStatus=$((exitCode + 1))
|
grep -qs "$create_user" "/etc/passwd" || exitStatus=$((exitCode + 1))
|
||||||
[ $exitStatus -eq 0 ] && export WORK_DIR="${set_home_dir:-}"
|
[ $exitStatus -eq 0 ] && export WORK_DIR="${create_home_dir:-}"
|
||||||
if [ -n "$WORK_DIR" ]; then
|
if [ -n "$WORK_DIR" ]; then
|
||||||
[ -d "$WORK_DIR" ] || mkdir -p "$WORK_DIR"
|
[ -d "$WORK_DIR" ] || mkdir -p "$WORK_DIR"
|
||||||
[ -d "/etc/.skel" ] && cp -Rf /etc/.skel/. "$WORK_DIR/"
|
[ -d "/etc/.skel" ] && cp -Rf /etc/.skel/. "$WORK_DIR/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user