diff options
Diffstat (limited to 'server/modules/auth-freiburg/etc/profile.d/00-autostart.sh')
-rwxr-xr-x | server/modules/auth-freiburg/etc/profile.d/00-autostart.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/modules/auth-freiburg/etc/profile.d/00-autostart.sh b/server/modules/auth-freiburg/etc/profile.d/00-autostart.sh index a1082864..afc28ec0 100755 --- a/server/modules/auth-freiburg/etc/profile.d/00-autostart.sh +++ b/server/modules/auth-freiburg/etc/profile.d/00-autostart.sh @@ -22,11 +22,9 @@ if [ -d "$PERSISTENT_HOME_DIR" ]; then [ -e "$TEMP_HOME_DIR/$file" ] && break if [ "x$(dirname "$file")" != "x." ]; then mkdir -p "$TEMP_HOME_DIR/$(dirname "$file")" + mkdir -p "$PERSISTENT_HOME_DIR/$(dirname "$file")" fi if [ ! -e "$PERSISTENT_HOME_DIR/$file" ]; then - if [ ! -d "$(dirname "$PERSISTENT_HOME_DIR/$file")" ]; then - mkdir -p "$(dirname "$PERSISTENT_HOME_DIR/$file")" - fi touch "$PERSISTENT_HOME_DIR/$file" fi ln -s "$PERSISTENT_HOME_DIR/$file" "$TEMP_HOME_DIR/$file" |