mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: clear files on reinstall
This commit is contained in:
1 parent
8d886699b5
commit
f51ac3f1e1
1 file changed
+7
-1
+7
-1
@@ -1,4 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
curl "https://raw.githubusercontent.com/aclist/dztui/testing/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
|
||||
Reference in new issue
Block a user