2019-01-15 04:47:56 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
|
|
MODULE=shadowsocks
|
2019-01-23 17:17:21 +00:00
|
|
|
VERSION=3.0.6
|
2019-01-15 04:47:56 +00:00
|
|
|
TITLE=shadowsocks
|
|
|
|
DESCRIPTION=shadowsocks
|
|
|
|
HOME_URL=Main_Ss_Content.asp
|
|
|
|
|
|
|
|
# Check and include base
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
if [ "$MODULE" == "" ]; then
|
|
|
|
echo "module not found"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
|
|
|
|
echo "install script not found"
|
|
|
|
exit 2
|
|
|
|
fi
|
|
|
|
|
|
|
|
# now include build_base.sh
|
|
|
|
. $DIR/../softcenter/build_base.sh
|
|
|
|
|
|
|
|
# change to module directory
|
|
|
|
cd $DIR
|
|
|
|
|
|
|
|
# do something here
|
|
|
|
|
|
|
|
do_build_result
|
|
|
|
|
|
|
|
sh backup.sh $MODULE
|