From 74d4943115dbb871e0a90ccb662a827c6c80cbe9 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 9 Feb 2016 08:55:53 +1100 Subject: [PATCH] OpenSUSE: Add uptime support --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index d7352e27..4369cc1e 100755 --- a/fetch +++ b/fetch @@ -501,7 +501,7 @@ getuptime () { case "$os" in "Linux") case "$distro" in - "Puppy Linux"* | "Quirky Werewolf"* | "Precise Puppy"*) + "Puppy Linux"* | "Quirky Werewolf"* | "Precise Puppy"* | "openSUSE"*) uptime=$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}') uptime=${uptime/ / } ;;