Update v-move-folder-and-make-symlink

This commit is contained in:
myvesta 2022-12-29 13:18:44 +01:00 committed by GitHub
commit 5b0056b193
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,8 +43,8 @@ if [ ! -d "$PARENTFOLDER" ]; then
PUSER=$(stat -c '%U' "$PARENTFOLDER")
PGROUP=$(stat -c '%G' "$PARENTFOLDER")
echo "= Creating parent folder..."
mkdir -p $PARENTFOLDER
chown $PUSER:$PGROUP $PARENTFOLDER
mkdir -p "$PARENTFOLDER"
chown $PUSER:$PGROUP "$PARENTFOLDER"
fi
#----------------------------------------------------------#