diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 14:25:41 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 14:25:41 +1100 |
| commit | 669eaa61cbead28957c0b541212e05a8ca8c7a7f (patch) | |
| tree | 064b476d7757cd8abb19faddff67defba0c538bf /install/foot.fish | |
| parent | readme: update help message (diff) | |
| download | caelestia-cli-669eaa61cbead28957c0b541212e05a8ca8c7a7f.tar.gz caelestia-cli-669eaa61cbead28957c0b541212e05a8ca8c7a7f.tar.bz2 caelestia-cli-669eaa61cbead28957c0b541212e05a8ca8c7a7f.zip | |
install: better install + use data and state
Don't complete remove repos, use git pull instead
Use XDG_DATA_HOME and XDG_STATE_HOME
Diffstat (limited to 'install/foot.fish')
| -rwxr-xr-x | install/foot.fish | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/install/foot.fish b/install/foot.fish index 8e9c51e..941630f 100755 --- a/install/foot.fish +++ b/install/foot.fish @@ -4,10 +4,9 @@ install-deps git foot inotify-tools -set -l foot $CONFIG/../foot +set -l dist $CONFIG/foot -confirm-overwrite $foot -git clone 'https://github.com/caelestia-dots/foot.git' $foot -sed -i 's|$SRC|'$foot'|g' $foot/foot.ini +update-repo foot $dist +sed -i 's|$SRC|'$dist'|g' $dist/foot.ini log 'Done.' |