mirror of
https://github.com/casjaysdevdocker/code
synced 2025-01-18 06:34:27 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
f545e30f2a
commit
792bcd35b5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user