summaryrefslogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
Diffstat (limited to 'update')
-rwxr-xr-xupdate2
1 files changed, 1 insertions, 1 deletions
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