for/master
parent
2986e3ba38
commit
d67faef945
3 changed files with 4 additions and 4 deletions
@ -1,4 +1,4 @@ |
||||
#!/bin/bash |
||||
wget cz0.cz/betterbash-latest.tar.gz -q -O - | tar -xz -C ~ |
||||
wget cz0.cz/betterbash-latest.tar.gz -q -O - | tar -xz --no-same-owner -C ~ |
||||
CMD='[ -f ~/.bshell/bb.sh ] && . ~/.bshell/bb.sh' |
||||
grep -q "$CMD" ~/.bashrc || echo "$CMD" >> ~/.bashrc |
||||
|
||||
@ -1,8 +1,8 @@ |
||||
#!/bin/bash |
||||
rm -rf /data/tmp/BetterBash |
||||
cd /data/tmp/ |
||||
git clone http://127.0.0.1:3000/czoczo/BetterBash |
||||
cp /data/tmp/BetterBash/getbb.sh /wwwroot/getbb.sh |
||||
tar -czvf betterbash-latest.tar.gz -C /data/tmp/BetterBash/ . --exclude=".git" --exclude="README.md --exclude="getbb.sh"" |
||||
rm -rf /data/tmp/BetterShell |
||||
tar -czvf betterbash-latest.tar.gz -C /data/tmp/BetterBash/ . --exclude=".git" --exclude="README.md" --exclude="getbb.sh" --exclude="post-hook.sh" |
||||
rm /wwwroot/betterbash-latest.tar.gz |
||||
mv betterbash-latest.tar.gz /wwwroot/betterbash-latest.tar.gz |
||||
|
||||
Loading…
Reference in new issue