mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-10 09:19:29 -05:00
install: better install + use data and state
Don't complete remove repos, use git pull instead Use XDG_DATA_HOME and XDG_STATE_HOME
This commit is contained in:
+3
-4
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user