mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user