diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-28 18:31:30 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-28 18:31:30 +1100 |
| commit | 631f3c297cb85710a1ecf79abc7b0dbd0c78ef0a (patch) | |
| tree | f512d360ee171f15f6154b5a3f7de104479b1781 /install/util.fish | |
| parent | install: scripts install completions (diff) | |
| download | caelestia-cli-631f3c297cb85710a1ecf79abc7b0dbd0c78ef0a.tar.gz caelestia-cli-631f3c297cb85710a1ecf79abc7b0dbd0c78ef0a.tar.bz2 caelestia-cli-631f3c297cb85710a1ecf79abc7b0dbd0c78ef0a.zip | |
install: fix hypr installation
Diffstat (limited to 'install/util.fish')
| -rw-r--r-- | install/util.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/util.fish b/install/util.fish index 30ee6e1..64364bf 100644 --- a/install/util.fish +++ b/install/util.fish @@ -5,7 +5,7 @@ function confirm-overwrite -a path read -l -p "input '$(realpath $path) already exists. Overwrite? [y/N] ' -n" confirm if test "$confirm" = 'y' -o "$confirm" = 'Y' log 'Continuing.' - rm -rf $path + set -q $argv[2] || rm -rf $path # If a second arg is provided, don't delete else log 'Exiting.' exit |