Uptime: Match Puppy linux's weird way of versioning

This commit is contained in:
Dylan 2016-02-09 07:55:13 +11:00
parent 44ace4e837
commit 4a99a128f9
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -501,7 +501,7 @@ getuptime () {
case "$os" in
"Linux")
case "$distro" in
"Puppy Linux"*)
"Puppy Linux"* | "Quirky Werewolf"* | "Precise Puppy"*)
uptime=$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')
uptime=${uptime/ / }
;;