path changed to /tmp

This commit is contained in:
KAiZ 2019-11-14 09:10:43 +05:30
parent 34feddfc79
commit eeecd2651b

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Default settings # Default settings
BIBATA=${BIBATA:-~/.Bibata} BIBATA=${BIBATA:-/tmp/Bibata}
REPO=${REPO:-KaizIqbal/Bibata_Cursor} REPO=${REPO:-KaizIqbal/Bibata_Cursor}
REMOTE=${REMOTE:-https://github.com/${REPO}.git} REMOTE=${REMOTE:-https://github.com/${REPO}.git}
BRANCH=${BRANCH:-devlopment} BRANCH=${BRANCH:-devlopment}
@ -55,10 +55,9 @@ setup_bibata_repo() {
} }
setup_bibata() { setup_bibata() {
cd ~/.Bibata/ cd /tmp/Bibata/
./install.sh ./install.sh
cd ~ rm -rf /tmp/Bibata
rm -rf .Bibata
echo echo
} }
@ -80,8 +79,7 @@ main() {
setup_bibata_repo setup_bibata_repo
setup_bibata setup_bibata
cd ~ rm -rf /tmp/Bibata
rm -rf .Bibata
printf "$RESET" printf "$RESET"
} }