1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

fix: clear files on reinstall

This commit is contained in:
aclist 2023-05-19 23:25:28 +09:00
parent 3b94b9117c
commit 186a258a48

View file

@ -1,4 +1,10 @@
#!/usr/bin/env bash
curl "https://raw.githubusercontent.com/aclist/dztui/main/dzgui.sh" > dzgui.sh
chmod +x dzgui.sh
xdg_file="$HOME/.local/share/applications/dzgui.desktop"
share="$HOME/.local/share/dzgui"
conf="$HOME/.config/dztui"
[[ -f $xdg_file ]] && rm $xdg_file
[[ -d $share ]] && rm -rf $share
[[ -d $conf ]] && rm -rf $conf
./dzgui.sh