Remove old XDG dirs in $HOME

This commit is contained in:
Anthony Rose 2023-03-29 18:45:47 +01:00
parent f5bd30e3b4
commit a8cb938eb6

View file

@ -61,6 +61,11 @@ then
mkdir -p "$XDG_PUBLICSHARE_DIR"
mkdir -p "$XDG_TEMPLATES_DIR"
mkdir -p "$XDG_VIDEOS_DIR"
if [ -d "$HOME/Documents" ]; then rmdir "$HOME/Documents"; fi
if [ -d "$HOME/Music" ]; then rmdir "$HOME/Music" ; fi
if [ -d "$HOME/Pictures" ]; then rmdir "$HOME/Pictures" ; fi
if [ -d "$HOME/Videos" ]; then rmdir "$HOME/Videos" ; fi
)
fi