|
@@ -141,11 +141,11 @@ check-parameter(){
|
|
|
Usage_$LOCALE
|
|
|
return 1
|
|
|
;;
|
|
|
- --version|--arch|--target|--build-rpm|--install-rpm|--remove-rpm)
|
|
|
+ --version|--arch|--target|--build-rpm|build-rpm|--install-rpm|install-rpm|--remove-rpm|remove-rpm)
|
|
|
shift
|
|
|
check-next-parameter $1 || return 1
|
|
|
;;
|
|
|
- --dist-upgrade|--unionfs|--with-compat32|--build|--clean)
|
|
|
+ --dist-upgrade|--unionfs|--with-compat32|--build|build|--clean|clean)
|
|
|
;;
|
|
|
*)
|
|
|
Msg_MissingParameter_$LOCALE $1
|
|
@@ -605,10 +605,10 @@ check-parameter $* || exit 1
|
|
|
while [ $# -gt 0 ]; do
|
|
|
tmpARG=$1
|
|
|
case $tmpARG in
|
|
|
- --version|--arch|--target|--build-rpm|--install-rpm|--remove-rpm)
|
|
|
+ --version|--arch|--target|--build-rpm|build-rpm|--install-rpm|install-rpm|--remove-rpm|remove-rpm)
|
|
|
shift
|
|
|
;;
|
|
|
- --dist-upgrade|--unionfs|--with-compat32|--build|--clean)
|
|
|
+ --dist-upgrade|--unionfs|--with-compat32|--build|build|--clean|clean)
|
|
|
;;
|
|
|
*)
|
|
|
echo unknown option $1
|
|
@@ -636,22 +636,22 @@ while [ $# -gt 0 ]; do
|
|
|
--with-compat32)
|
|
|
RPM_OPTS="${RPM_OPTS} --with compat32"
|
|
|
;;
|
|
|
- --build-rpm)
|
|
|
+ --build-rpm|build-rpm)
|
|
|
RPM_PKG=$1
|
|
|
RPM_Build || exit 1
|
|
|
;;
|
|
|
- --install-rpm)
|
|
|
+ --install-rpm|install-rpm)
|
|
|
RPM_PKG=$1
|
|
|
RPM_Install || exit 1
|
|
|
;;
|
|
|
- --remove-rpm)
|
|
|
+ --remove-rpm|remove-rpm)
|
|
|
RPM_PKG=$1
|
|
|
RPM_Remove || exit 1
|
|
|
;;
|
|
|
- --build)
|
|
|
+ --build|build)
|
|
|
Build
|
|
|
;;
|
|
|
- --clean)
|
|
|
+ --clean|clean)
|
|
|
Clean
|
|
|
;;
|
|
|
esac
|