1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-01-01 15:12:05 +01:00

chore: normalize installscript

This commit is contained in:
aclist 2023-11-22 18:59:46 +09:00
parent 34dab465f5
commit caba452afa

View file

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