🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-17 11:15:50 -04:00
parent f545e30f2a
commit 792bcd35b5
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -117,21 +117,18 @@ if [ -n "$DOMANNAME" ]; then
fi fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Create files # Create files
mkdir -p "/config" "/data" sudo mkdir -p "/config" "/data" && chown -Rf x11user:x11user "/config" "/data"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ -d "/config/vscode" ]; then if [ -d "/config/vscode" ]; then
rm -Rf "$HOME/.vscode" rm -Rf "$HOME/.vscode" && ln -sf "/config/vscode" "$HOME/.vscode"
ln -sf "/config/vscode" "$HOME/.vscode"
else else
mv -fv "$HOME/.vscode" "/config/vscode" mv -fv "$HOME/.vscode" "/config/vscode" && ln -sf "/config/vscode" "$HOME/.vscode"
ln -sf "/config/vscode" "$HOME/.vscode"
fi fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ -d "/config/code" ]; then if [ -d "/config/code" ]; then
rm -Rf "$HOME/.config/Code" rm -Rf "$HOME/.config/Code" && ln -sf "/config/code" "$HOME/.config/Code"
ln -sf "/config/code" "$HOME/.config/Code"
else else
mv -fv "$HOME/.config/Code" "/config/code" mv -fv "$HOME/.config/Code" "/config/code" && ln -sf "/config/code" "$HOME/.config/Code"
ln -sf "/config/code" "$HOME/.config/Code"
fi fi
# Fic permissions # Fic permissions