diff options
author | Simon Rettberg | 2023-10-19 13:27:49 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-19 13:27:49 +0200 |
commit | 834d818a5b11c2b9a9f8ec622d522d213a35edd0 (patch) | |
tree | b27f64f1d84de292640b124196c20f7e02170cc5 /satellit_installer/includes | |
parent | [SSPS] Modernize; switch default user to openslx + sudo (diff) | |
download | setup-scripts-834d818a5b11c2b9a9f8ec622d522d213a35edd0.tar.gz setup-scripts-834d818a5b11c2b9a9f8ec622d522d213a35edd0.tar.xz setup-scripts-834d818a5b11c2b9a9f8ec622d522d213a35edd0.zip |
[SSPS] Make sure firstrun.sh properly deletes itself after use
Diffstat (limited to 'satellit_installer/includes')
-rw-r--r-- | satellit_installer/includes/10-script_dropper.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_installer/includes/10-script_dropper.inc b/satellit_installer/includes/10-script_dropper.inc index a991f28..11ab9b9 100644 --- a/satellit_installer/includes/10-script_dropper.inc +++ b/satellit_installer/includes/10-script_dropper.inc @@ -4,7 +4,7 @@ fb_enable_firstrun() { if ! grep -qF "$script" "/home/openslx/.profile"; then echo "# Patching openslx's .profile" echo "[ -t 0 ] && $script" >> "/home/openslx/.profile" - chown openslx:openslx "/home/openslx/.profile" + chown openslx:openslx "/home/openslx/.profile" "$script" fi } |