You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
378 B

#!/bin/bash
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
rm /wwwroot/betterbash-latest.tar.gz
mv betterbash-latest.tar.gz /wwwroot/betterbash-latest.tar.gz