mirror of
https://github.com/RasppleII/a2cloud.git
synced 2026-04-21 21:16:51 +00:00
setup.txt: Version change for upcoming 1.9.0
This commit is contained in:
Regular → Executable
+8
-7
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||
|
||||
version="183"
|
||||
version="1.9.0"
|
||||
adtProVersion="2.0.1"
|
||||
|
||||
# Ensure URL we'll use ends in a /
|
||||
@@ -48,9 +48,13 @@ fi
|
||||
|
||||
|
||||
if [[ -f /usr/local/etc/A2CLOUD-version ]]; then
|
||||
echo "A2CLOUD version available: $version"
|
||||
echo "A2CLOUD version installed: $(cat /usr/local/etc/A2CLOUD-version)"
|
||||
installedVersion="$(cat /usr/local/etc/A2CLOUD-version)"
|
||||
if [[ $installedVersion != *.*.* ]]; then
|
||||
installedVersion="${installedVersion:0:1}.${installedVersion:1:1}.${installedVersion:2}"
|
||||
fi
|
||||
fi
|
||||
echo "A2CLOUD version available: $version"
|
||||
echo "A2CLOUD version installed: ${installedVersion:-None}"
|
||||
|
||||
buildA2CloudDisk=
|
||||
downloadBinaries=1
|
||||
@@ -84,10 +88,7 @@ while [[ $1 ]]; do
|
||||
updateRasppleII=1
|
||||
elif [[ $1 == "-v" ]]; then
|
||||
shift
|
||||
if [[ ! -f /usr/local/etc/A2CLOUD-version ]]; then
|
||||
echo "A2CLOUD version available: $version"
|
||||
echo "A2CLOUD version installed: none"
|
||||
fi
|
||||
# Version was already printed
|
||||
[[ $0 == "-bash" ]] && return 1 || exit 1
|
||||
elif [[ $1 == "noSetGroups" ]]; then
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user