Add Update script

This commit is contained in:
Christer Warén 2024-06-06 02:38:32 +03:00
parent d9254aac36
commit ad4954d5ef

27
update.sh Executable file
View File

@ -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