update
This commit is contained in:
1 parent
53df72f761
commit
c786fd8d5a
3 files changed
+33
-10
No files matched your search
@@ -107,7 +107,11 @@ Architectures: $OS_ARCH
|
||||
|
||||
config(){
|
||||
set_pkg_source
|
||||
$AWD/configure.sh
|
||||
if $1; then
|
||||
$AWD/configure.sh
|
||||
else
|
||||
$AWD/configure.sh -s
|
||||
fi
|
||||
}
|
||||
|
||||
usage(){
|
||||
@@ -124,7 +128,7 @@ usage(){
|
||||
}
|
||||
|
||||
PKG_BASE="$AWD/packages-base"
|
||||
CONFIG_ONLY=false;
|
||||
DO_INSTALL=true;
|
||||
MIRROR_SOURCE=1;
|
||||
while getopts ":f:ipm:" OPT; do
|
||||
case $OPT in
|
||||
@@ -132,7 +136,7 @@ while getopts ":f:ipm:" OPT; do
|
||||
PKG_BASE=$OPTARG;
|
||||
;;
|
||||
c)
|
||||
CONFIG_ONLY=true;
|
||||
DO_INSTALL=false;
|
||||
;;
|
||||
m)
|
||||
MIRROR_SOURCE=$OPTARG;
|
||||
@@ -144,7 +148,7 @@ while getopts ":f:ipm:" OPT; do
|
||||
esac;
|
||||
done;
|
||||
|
||||
config
|
||||
if ! $CONFIG_ONLY; then
|
||||
config $DO_INSTALL
|
||||
if $DO_INSTALL; then
|
||||
$AWD/install.sh $PKG_BASE
|
||||
fi
|
||||
Reference in new issue
Block a user