From a1fa28fb315b5947033894bbca2ca99661c55e85 Mon Sep 17 00:00:00 2001
From: Leon Gaultier <leongaultier@gmail.com>
Date: Mon, 31 Mar 2014 18:39:37 +0200
Subject: [PATCH] =?UTF-8?q?kleine=20Anpassungen=20bei=20den=20Headerfiles?=
 =?UTF-8?q?=20f=C3=BCr=20die=20Funktionen?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 calibre-autoupdate   | 11 +++++------
 calibre-autoupdate.h |  2 --
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/calibre-autoupdate b/calibre-autoupdate
index 1f14608..b1e2eae 100755
--- a/calibre-autoupdate
+++ b/calibre-autoupdate
@@ -78,12 +78,10 @@ source ./calibre-autoupdate.conf
 
 
 #################################
-##### Zusätzliche Funktionen #####
-
-./calibre-autoupdate.h
-./calibre-autoupdate_checks.h
-
+##### Zusätzliche Funktionen aus Headerfiles laden #####
 
+source ./calibre-autoupdate.h
+source ./calibre-autoupdate_checks.h
 
 
 func_http_status_code () {
@@ -113,7 +111,8 @@ func_update () {
 NOTIFY="echo"
 [ -n "$DISPLAY" ] && NOTIFY="notify-send -t 10000 -i /usr/share/icons/hicolor/256x256/apps/calibre-gui.png Calibre-Auto-Updater"
 
-func_term_output
+
+func_term_output    # Funktion für Konsolenausgabe
 
 func_http_status_code	# Funktion hole einen http-status code
 
diff --git a/calibre-autoupdate.h b/calibre-autoupdate.h
index c5208a0..b353062 100644
--- a/calibre-autoupdate.h
+++ b/calibre-autoupdate.h
@@ -2,8 +2,6 @@
 #    Copyright (C) 2013-2014  Leon Gaultier
 #
 
-
-
 func_usage ()
 {
     echo "Usage: $PROGNAME [OPTION...]"