Skip to content

Commit

Permalink
Update teaspeak_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporesirius committed Sep 28, 2018
1 parent 83e5608 commit 8d401fe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions teaspeak_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -445,13 +445,6 @@ elif [ "$OPTION" == "Skip" ]; then
yellow_sleep "System update skiped."
fi

# Update installer script.
updateScript
if [ $? -ne 0 ]; then
error "Failed to update script!"
exit 1
fi

# Install packages for the installer itself.
test_installed curl
test_installed tar
Expand All @@ -460,6 +453,13 @@ if [ $? -ne 0 ]; then
exit 1
fi

# Update installer script.
updateScript
if [ $? -ne 0 ]; then
error "Failed to update script!"
exit 1
fi

# Check if repo is needed.
if [ "${NEDDED_REPO}" == "true" ] && ! yum -v repolist all 2>/dev/null | grep "epel-multimedia" &>/dev/null && ! dnf -v repolist all | grep "fedora-multimedia" &>/dev/null; then
cyan " "
Expand Down

0 comments on commit 8d401fe

Please sign in to comment.