Skip to content

Commit

Permalink
Fix /etc/functions.sh: line 117: YIIMPOOL_VERSION: unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
afiniel committed Oct 26, 2022
1 parent 98232c2 commit 55104b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions conf/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ function install_end_message {

# terminal art start screen.
function term_art {
source /etc/yiimpoolversion.conf
clear
echo
echo "██╗ ██╗██╗██╗███╗ ███╗██████╗ ██████╗ ██████╗ ██╗ "
Expand Down
3 changes: 1 addition & 2 deletions conf/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Updated by afiniel-tech for yiimpool use...
#####################################################

source /etc/yiimpoolversion.conf

if [ "$(lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/')" == "Ubuntu 18.04 LTS" ]; then
DISTRO=18
Expand Down Expand Up @@ -67,7 +66,7 @@ fi
ARCHITECTURE=$(uname -m)
if [ "$ARCHITECTURE" != "x86_64" ]; then
if [ -z "$ARM" ]; then
echo "Yiimpool Installer $YIIMPOOL_VERSION only supports x86_64 and will not work on any other architecture, like ARM or 32 bit OS."
echo "Yiimpool Installer only supports x86_64 and will not work on any other architecture, like ARM or 32 bit OS."
echo "Your architecture is $ARCHITECTURE"
exit
fi
Expand Down

0 comments on commit 55104b2

Please sign in to comment.