kloeckner.com.ar

a backup of my entire webpage
Index Commits Files Refs README LICENSE
commit afca7d4561c59de673c3931b80dd30e097e1ff56
parent d96e193c9d3f75d63a4d09f0d2ed25ddfc8fbdb5
Author: mjkloeckner <martinjkloeckner@gmail.com>
Date:   Sun, 18 Feb 2024 00:08:06 -0300

Fix indentation not uniform

Diffstat:
Mscripts/deploy_local.sh | 4++--
Mscripts/sync.sh | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/deploy_local.sh b/scripts/deploy_local.sh
@@ -4,8 +4,8 @@ root_folder="$1"
 html_folder="/var/www/html"
 
 if [ "$(id -u)" -ne "0" ] ; then
-    echo "This script must be executed with root privileges."
-    exit 1
+    echo "This script must be executed with root privileges."
+    exit 1
 fi
 
 echo -n "override folder $html_folder with $root_folder? (Y/n)? "
diff --git a/scripts/sync.sh b/scripts/sync.sh
@@ -44,7 +44,7 @@ generate_blog_index() {
 
         printf "<li><time>%s</time> <a href=\"/$html_folder/$file_name/$file_name.html\">%s</a></li>\n" \
             "${article_date}" "${article_title}" >> $root_folder/$blog_index_file
-    done
+    done
 }
 
 generate_latest_uploads() {
@@ -56,7 +56,7 @@ generate_latest_uploads() {
 generate_rss_feed() {
     rm $rss_feed_file &> /dev/null
 
-    cp "$root_folder"/scripts/rss_feed_top.xml $rss_feed_file
+    cp "$root_folder"/scripts/rss_feed_top.xml $rss_feed_file
     printf "<lastBuildDate>%s</lastBuildDate>\n" "$(date)" >> $rss_feed_file
 
     for i in ${blog_folders[@]}; do