mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
fix: clear files on reinstall
This commit is contained in:
parent
b660968eed
commit
b92921e5a2
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
curl "https://raw.githubusercontent.com/aclist/dztui/dzgui/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
|
||||
|
|
Loading…
Reference in a new issue