Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions update-ghost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# the documentation of the Uberspace-wiki: http://goo.gl/eW5TlR

# set the current ghost-version here
VERSION='0.11.3'
VERSION='latest' # instead of constantly changing this code...

# set the ghost installation directory
GHOSTDIR=~/ghost
Expand All @@ -13,7 +13,8 @@ GHOSTDIR=~/ghost
RHEL='cat /etc/redhat-release | cut -d" " -f3 | cut -d "." -f1"'

for DIR in $GHOSTDIR ; do
if [ -d DIR ] ; then
if [ ! -d $DIR ] ; then
# I wonder if anybody has ever seen this message?
echo "you do not seem to have ghost-directory in your ~/."
echo "please make sure you have followed the documentation."
echo "if you are unsure, check the wiki: http://goo.gl/eW5TlR"
Expand Down