Remove old XDG dirs in $HOME
This commit is contained in:
parent
f5bd30e3b4
commit
a8cb938eb6
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue