kleine Anpassungen bei den Headerfiles für die Funktionen
This commit is contained in:
parent
2b4aaedd58
commit
a1fa28fb31
@ -78,12 +78,10 @@ source ./calibre-autoupdate.conf
|
|||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
##### Zusätzliche Funktionen #####
|
##### Zusätzliche Funktionen aus Headerfiles laden #####
|
||||||
|
|
||||||
./calibre-autoupdate.h
|
|
||||||
./calibre-autoupdate_checks.h
|
|
||||||
|
|
||||||
|
|
||||||
|
source ./calibre-autoupdate.h
|
||||||
|
source ./calibre-autoupdate_checks.h
|
||||||
|
|
||||||
|
|
||||||
func_http_status_code () {
|
func_http_status_code () {
|
||||||
@ -113,7 +111,8 @@ func_update () {
|
|||||||
NOTIFY="echo"
|
NOTIFY="echo"
|
||||||
[ -n "$DISPLAY" ] && NOTIFY="notify-send -t 10000 -i /usr/share/icons/hicolor/256x256/apps/calibre-gui.png Calibre-Auto-Updater"
|
[ -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
|
func_http_status_code # Funktion hole einen http-status code
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
# Copyright (C) 2013-2014 Leon Gaultier
|
# Copyright (C) 2013-2014 Leon Gaultier
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func_usage ()
|
func_usage ()
|
||||||
{
|
{
|
||||||
echo "Usage: $PROGNAME [OPTION...]"
|
echo "Usage: $PROGNAME [OPTION...]"
|
||||||
|
Loading…
Reference in New Issue
Block a user