From 02f32c59535e51ae74e2dd5fa70976850c74be83 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 24 Oct 2022 17:35:59 -0400 Subject: [PATCH] Update emby-update.sh --- misc/emby-update.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/misc/emby-update.sh b/misc/emby-update.sh index fd947d03..86a67a9e 100644 --- a/misc/emby-update.sh +++ b/misc/emby-update.sh @@ -11,23 +11,6 @@ BFR="\\r\\033[K" HOLD="-" CM="${GN}✓${CL}" APP="Emby" -set -o errexit -set -o errtrace -set -o nounset -set -o pipefail -shopt -s expand_aliases -alias die='EXIT=$? LINE=$LINENO error_exit' -trap die ERR - -function error_exit() { - trap - ERR - local reason="Unknown failure occured." - local msg="${1:-$reason}" - local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" - echo -e "$flag $msg" 1>&2 - exit $EXIT -} - while true; do read -p "This will Update ${APP} to ${LATEST}. Proceed(y/n)?" yn case $yn in