mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
install: Add option to skip dist-upgrade.
This commit is contained in:
@@ -32,6 +32,7 @@ while true; do
|
|||||||
--hostname) EXTERNAL_HOST="$2"; shift; shift;;
|
--hostname) EXTERNAL_HOST="$2"; shift; shift;;
|
||||||
--email) ZULIP_ADMINISTRATOR="$2"; shift; shift;;
|
--email) ZULIP_ADMINISTRATOR="$2"; shift; shift;;
|
||||||
--no-init-db) NO_INIT_DB=1; shift;;
|
--no-init-db) NO_INIT_DB=1; shift;;
|
||||||
|
--no-dist-upgrade) NO_DIST_UPGRADE=1; shift;;
|
||||||
--) shift; break;;
|
--) shift; break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@@ -176,7 +177,12 @@ EOF
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt-get -y dist-upgrade "${APT_OPTIONS[@]}"
|
# don't run dist-upgrade in one click apps to make the
|
||||||
|
# installation process more seamless.
|
||||||
|
if [ -z "$NO_DIST_UPGRADE" ]; then
|
||||||
|
apt-get -y dist-upgrade "${APT_OPTIONS[@]}"
|
||||||
|
fi
|
||||||
|
|
||||||
if ! apt-get install -y \
|
if ! apt-get install -y \
|
||||||
puppet git curl wget jq \
|
puppet git curl wget jq \
|
||||||
python python3 python-six python3-six crudini \
|
python python3 python-six python3-six crudini \
|
||||||
|
|||||||
Reference in New Issue
Block a user