Quantcast
Channel: What would an update mechanism look like in bash - Super User
Browsing all 2 articles
Browse latest View live

Answer by justbrowsing for What would an update mechanism look like in bash

This breaks after 9.9.9#!/bin/bashversion=0subversion=0subsubversion=1updateVersion(){ if [ "$subsubversion" -lt 9 ]; then subsubversion=$((subsubversion+1)); elif [ "$subsubversion" = 9 ] && [...

View Article



What would an update mechanism look like in bash

I have to update a script compilation from time to time but I haven't any idea how to start a version check script in bash.I've got a version file with 3 vars: version=0, subversion=0 and...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images