Skip to content
Snippets Groups Projects
Commit 15eba9ab authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Cleanup install script

Former-commit-id: 7efa0094
parent 7a1f27bc
Branches
Tags
No related merge requests found
...@@ -51,7 +51,6 @@ SERVER_IRDB_PKGS=" ...@@ -51,7 +51,6 @@ SERVER_IRDB_PKGS="
ALL_PKGS="$BASE_PKGS $CLIENT_IRDB_PKGS $SERVER_IRDB_PKGS " ALL_PKGS="$BASE_PKGS $CLIENT_IRDB_PKGS $SERVER_IRDB_PKGS "
install_packs() install_packs()
{ {
for i in $* for i in $*
...@@ -111,6 +110,16 @@ for arg in $args; do ...@@ -111,6 +110,16 @@ for arg in $args; do
irdb) irdb)
install_packs $CLIENT_IRDB_PKGS $SERVER_IRDB_PKGS install_packs $CLIENT_IRDB_PKGS $SERVER_IRDB_PKGS
;; ;;
build)
install_packs $BASE_PKGS
;;
test)
install_packs $ALL_PKGS
;;
deploy)
install_packs $CLIENT_IRDB_PKGS $SERVER_IRDB_PKGS
;;
*) *)
echo "$arg not recognized. Recognized args: all, base, client-irdb,"; echo "$arg not recognized. Recognized args: all, base, client-irdb,";
echo " server-irdb, irdb, test, sql."; echo " server-irdb, irdb, test, sql.";
...@@ -124,8 +133,10 @@ cd irdb_transforms ...@@ -124,8 +133,10 @@ cd irdb_transforms
sudo ./get-packages.sh sudo ./get-packages.sh
cd $orig_dir cd $orig_dir
cd daffy if [ ! -z $DAFFY_HOME ]; then
sudo ./get-packages.sh cd daffy
cd $orig_dir sudo ./get-packages.sh
cd $orig_dir
fi
echo Installing packages complete. echo Installing packages complete.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment