Update 20-folders.sh

This commit is contained in:
Alexandre
2022-02-02 10:58:29 +01:00
committed by GitHub
parent 9ee6d8430f
commit f633006c19

View File

@@ -2,16 +2,7 @@
# shellcheck shell=bash
# Define home
HOME="/share/webtop"
HOME="/share/webtop_kde"
mkdir -p $HOME
chown -R abc:abc $HOME
# Create symlinks
#for FOLDERS in ".config" ".local" "Desktop" "Documents" "Downloads" "Music" "Pictures" "Public" "Templates" "Videos" "thinclient_drives"; do
#mkdir -p $HOME/$FOLDERS
#if [ -d /config/$FOLDERS ]; then
# cp /config/$FOLDERS/* $HOME/$FOLDERS
# rm -r /config/$FOLDERS
#fi
#ln -s $HOME/$FOLDERS /config
#done
chmod -R 755 $HOME