v2ray/aliddns/build.sh
2019-01-12 22:10:25 +08:00

33 lines
527 B
Bash
Executable File

#!/bin/sh
MODULE=aliddns
VERSION=1.2
TITLE=aliddns
DESCRIPTION=阿里云解析自动更新IP
HOME_URL=Module_aliddns.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