From 6b7dd15ffbd9f369bc0500fba836aba57e115169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 12 Feb 2021 16:47:00 +0100 Subject: update : follow hostname change --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update b/update index ac413d9..0eacdd6 100755 --- a/update +++ b/update @@ -29,7 +29,7 @@ function update_gem() { sudo_run "rm -fr /usr/lib/ruby/gems/*" run "/usr/bin/gem update --no-document" run "/usr/bin/gem clean" - if [ $(hostname) = "HMSA0065N" -a $(ls -l $GEM_HOME/cache/*.gem 2>/dev/null | wc -l) -gt 0 ] + if [ $(hostname) = "MYHMSA" -a $(ls -l $GEM_HOME/cache/*.gem 2>/dev/null | wc -l) -gt 0 ] then for gem in $GEM_HOME/cache/*.gem; do gem inabox $gem ; done rm $GEM_HOME/cache/*.gem 2>/dev/null -- cgit v1.1-2-g2b99