Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Keller <ffflorian@users.noreply.github.com>2016-09-25 23:48:36 +0300
committerDaniel Hansson <daniel@techandme.se>2016-09-25 23:48:36 +0300
commitb2f1a6bd8888d758d7207e509b02993f64342320 (patch)
tree8cda3f6fac5f1379702f35c564eb9cd6cfda81f3 /static/update.sh
parentdd9ac91a89e8c2cf0c3f2f49f161283d7830ee34 (diff)
Code Cleanup (#36)
* Cleanup + Replaced tabs with spaces + Unified if .. then + Fixed typo in 'DOCTYPE' + Unified indentation * Cleanup: More indentation fixes
Diffstat (limited to 'static/update.sh')
-rw-r--r--static/update.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/static/update.sh b/static/update.sh
index adb1e829..85ab0cb6 100644
--- a/static/update.sh
+++ b/static/update.sh
@@ -12,22 +12,22 @@ SCRIPTS=/var/scripts
mkdir -p $SCRIPTS
-if [ -f $FILE ];
+if [ -f $FILE ]
then
- rm $SCRIPTS/$FILE
- wget -q https://raw.githubusercontent.com/nextcloud/vm/master/$FILE -P $SCRIPTS
- bash $SCRIPTS/$FILE
+ rm $SCRIPTS/$FILE
+ wget -q https://raw.githubusercontent.com/nextcloud/vm/master/$FILE -P $SCRIPTS
+ bash $SCRIPTS/$FILE
else
- wget -q https://raw.githubusercontent.com/nextcloud/vm/master/$FILE -P $SCRIPTS
- bash $SCRIPTS/$FILE
+ wget -q https://raw.githubusercontent.com/nextcloud/vm/master/$FILE -P $SCRIPTS
+ bash $SCRIPTS/$FILE
fi
chmod +x $SCRIPTS/$FILE
# Remove potenial copy of the same file
-if [ -f $SCRIPTS/$FILE.1 ];
+if [ -f $SCRIPTS/$FILE.1 ]
then
- rm $SCRIPTS/$FILE.1
+ rm $SCRIPTS/$FILE.1
fi
exit