Changeset 250
- Timestamp:
- 12/16/06 15:00:50 (2 years ago)
- Files:
-
- branches/message-handling-refactor-branch/bin/make-install-all.sh (modified) (1 diff)
- branches/message-handling-refactor-branch/bin/make-install-test-system.sh (modified) (2 diffs)
- branches/message-handling-refactor-branch/bin/make-install.sh (modified) (1 diff)
- branches/message-handling-refactor-branch/bin/make-reinstall.sh (modified) (2 diffs)
- branches/message-handling-refactor-branch/bin/make-uninstall.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/message-handling-refactor-branch/bin/make-install-all.sh
r52 r250 10 10 fi 11 11 12 sh make-install-test-system.sh 12 sh make-install-test-system.sh $1 $2 13 13 14 14 if [ $? -eq 0 ]; then branches/message-handling-refactor-branch/bin/make-install-test-system.sh
r105 r250 43 43 fi 44 44 45 46 45 echo "Copying test application directory" 47 46 if [ -d $CONFIG_DIR/$SYSTEMS_DIR ]; then … … 54 53 chown -R $SERVER_USER:$SERVER_GROUP $CONFIG_DIR/$SYSTEMS_DIR 55 54 56 cp -Rp $SRC_DIR/test/test-systems/* $CONFIG_DIR/$SYSTEMS_DIR 55 if [[ $1 = '-p' ]]; then 56 echo the party $2 is selected to be installed. 57 cp -Rp $SRC_DIR/test/test-systems/$2 $CONFIG_DIR/$SYSTEMS_DIR 58 else 59 echo no party selected. installing all parties. 60 cp -Rp $SRC_DIR/test/test-systems/* $CONFIG_DIR/$SYSTEMS_DIR 61 fi 62 57 63 if [ $? -eq 0 ]; then 58 64 echo "Copy test application directory done." branches/message-handling-refactor-branch/bin/make-install.sh
r211 r250 25 25 echo "$SERVER_USER user does not exists. Creating one." 26 26 adduser --gecos "HavanaWave HefeWeizen gateway" --disabled-password $SERVER_USER 27 if [ $? -eq 0 ]; then 28 echo "Successfully create HefeWeizen user." 29 else 30 echo "Error $? when creating HefeWeizen user. Exitting." 31 exit -1 32 fi 27 33 fi 28 34 branches/message-handling-refactor-branch/bin/make-reinstall.sh
r146 r250 1 1 sh make-uninstall-all.sh 2 2 3 if [ $? -eq 0 ]; then 3 4 echo "Removed all installed systems." … … 9 10 10 11 11 sh make-install-all.sh 12 sh make-install-all.sh $1 $2 12 13 if [ $? -eq 0 ]; then 13 14 echo "Successfully installed all systems." branches/message-handling-refactor-branch/bin/make-uninstall.sh
r118 r250 121 121 fi 122 122 123 grep $SERVER_GROUP /etc/group > /dev/null 124 125 if [ $? -eq 0 ]; then 126 echo "Removing $SERVER_GROUP group" 127 delgroup $SERVER_GROUP 128 if [ $? -eq 0 ]; then 129 echo "done." 130 else 131 echo "Error removing $SERVER_GROUP group " 132 echo "Exitting." 133 exit -1 134 fi 135 else 136 echo "group $SERVER_GROUP does not exist so nothing to do." 137 fi 138 139 123 140 # deleting start stop scripts 124 141 echo "Removing start stop scripts"
