summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot2015-12-03 14:41:56 +0100
committerroot2015-12-03 14:41:56 +0100
commitf8a0f6d0ebdcf42a92b091b41f4f4a5b34ebb0ad (patch)
tree5e53110d471c80799755333d67e7cc703ebd9551
parent[nvidia*] Update drivers, handle new filenames/locations of built kernel modules (diff)
parent[auth-freiburg] remove unneeded check (diff)
downloadtm-scripts-f8a0f6d0ebdcf42a92b091b41f4f4a5b34ebb0ad.tar.gz
tm-scripts-f8a0f6d0ebdcf42a92b091b41f4f4a5b34ebb0ad.tar.xz
tm-scripts-f8a0f6d0ebdcf42a92b091b41f4f4a5b34ebb0ad.zip
Merge branch 'master' of git://git.openslx.org/openslx-ng/tm-scripts
-rwxr-xr-xserver/modules/auth-freiburg/etc/profile.d/00-autostart.sh5
1 files changed, 3 insertions, 2 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 cd67fad5..afc28ec0 100755
--- a/server/modules/auth-freiburg/etc/profile.d/00-autostart.sh
+++ b/server/modules/auth-freiburg/etc/profile.d/00-autostart.sh
@@ -5,7 +5,7 @@ PERSISTENT_HOME_DIR="$HOME/PERSISTENT"
if [ -d "$PERSISTENT_HOME_DIR" ]; then
- # Persistent home was mounted, take care of some convenience
+ # Persistent home was mounted, take care of some conveinience
# Dirs
for file in .vim .mozilla .thunderbird .config/chromium .config/htop .config/openslx .config/xfce4; do
[ -e "$TEMP_HOME_DIR/$file" ] && break
@@ -18,10 +18,11 @@ if [ -d "$PERSISTENT_HOME_DIR" ]; then
ln -s "$PERSISTENT_HOME_DIR/$file" "$TEMP_HOME_DIR/$file"
done
# Files
- for file in .bashrc .profile .vimrc .gitconfig .local/share/applications/mimeapps.list; do
+ for file in .bashrc .profile .vimrc .gitconfig .local/share/applications/mimeapps.list; do
[ -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
touch "$PERSISTENT_HOME_DIR/$file"