Have ivan.sh get version from install.sh

This commit is contained in:
T. Joseph Carter 2018-09-08 18:55:33 -07:00
parent f1b141bd9c
commit 98ed939e9f

View File

@ -6,8 +6,6 @@
# netatalk configured for Apple II use on Debian or Raspbian.
# more info is at http://ivanx.com/a2server
a2serverVersion="1.9.0"
# Find the path of our source directory
top_src="$( dirname "${BASH_SOURCE[0]}" )/.."
pushd $top_src >/dev/null
@ -18,6 +16,9 @@ if [[ ! -f "$top_src/.a2server_source" ]]; then
exit 1
fi
# This is now in install.sh, get it from there
a2serverVersion=$(grep '^a2serverVersion' "$top_src/install.sh" | cut -d '"' -f 2)
compare_version="$top_src/scripts/compare_version"
isRpi=