From ad4954d5ef939e359cc04d242d063ceec95f8767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 6 Jun 2024 02:38:32 +0300 Subject: [PATCH] Add Update script --- update.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..83cda50 --- /dev/null +++ b/update.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +if [ ! "$BASH_VERSION" ] ; then + bash $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 + exit 1 +fi + +wiBold=$(tput bold) +wiNormal=$(tput sgr0) + +echo "" +echo "" +echo "" +echo "==============================" +echo -n "$wiBold" +echo " Warén Group " +echo -n "$wiNormal" +echo "==============================" +echo " >> Init << " +echo "------------------------------" +cp ../wx/src/functions/header.sh src/functions/header.sh +cp ../wx/src/functions/repeat.sh src/functions/repeat.sh +cp ../wx/src/commands/login.sh src/functions/login.sh +echo " " +echo " " +echo " " +exit 1