Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ -f /etc/os-release ]
then
OS=`cat /etc/os-release | grep '^ID=' | sed 's/ID=//g' | sed 's/"//g'`
case $OS in
ubuntu)
ubuntu | neon)
if hash curl 2> /dev/null || ! hash jq 2> /dev/null
then
$SUDO_FLAG apt-get update -q=2
Expand Down
4 changes: 2 additions & 2 deletions swiftbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ then
SYSTEM_VERSION=$VERSION_ID
fi
case $ID in
ubuntu)
ubuntu | neon)
SYSTEM_NAME="ubuntu"
if ! hash curl 2> /dev/null || ! hash realpath 2> /dev/null || ! hash wget 2> /dev/null || ! hash jq 2> /dev/null
then
Expand Down Expand Up @@ -123,7 +123,7 @@ init-env() {
fi
enable-swiftbox
case $SYSTEM_NAME in
ubuntu)
ubuntu | neon)
$SUDO_FLAG apt-get update
case $SYSTEM_VERSION in
16.04 | 18.04 | 20.04 | 22.04) ;;
Expand Down