|
|
@ -6,14 +6,13 @@ fi |
|
|
|
|
|
|
|
echo -n "debian-bash: collecting latest release from server url ... " |
|
|
|
remote_release=$(wget_semver artcode pvincent/debian-bash) |
|
|
|
echo "$remote_release" |
|
|
|
echo -n "$remote_release" |
|
|
|
|
|
|
|
if [[ $local_release != $remote_release ]]; then |
|
|
|
echo "upgrading from <$local_release> to <$remote_release> ..." |
|
|
|
echo " , upgrading from <$local_release> to <$remote_release> ..." |
|
|
|
curl https://git.artcode.re/pvincent/debian-bash/raw/master/install.sh | sudo bash -s -- --full |
|
|
|
else |
|
|
|
|
|
|
|
echo "debian-bash: local version $local_release already up-to-date!" |
|
|
|
echo " up-to-date!" |
|
|
|
# install inside active LXC containers |
|
|
|
if [[ -f '/snap/bin/lxc' ]]; then |
|
|
|
echo "debian-bash: refreshing containers ..." |
|
|
|