6 PACKAGE_NAME="$(basename "$0" | grep -Eo '\barvados.*$')"
7 PACKAGE_NAME=${PACKAGE_NAME%.sh}
12 cd "/var/www/${PACKAGE_NAME%-server}/current"
16 apt-get install -y nginx
17 dpkg-reconfigure "$PACKAGE_NAME"
20 yum install --assumeyes httpd
21 yum reinstall --assumeyes "$PACKAGE_NAME"
24 echo -e "$0: Unknown target '$TARGET'.\n" >&2
29 /usr/local/rvm/bin/rvm-exec default bundle list >"$ARV_PACKAGES_DIR/$PACKAGE_NAME.gems"