2012-05-18 18:20:39 +04:00
|
|
|
|
|
|
|
# we de not get kde-deltas from a delta-up-server, since kde provides own xdelta-files
|
|
|
|
KDE_MIRROR="ftp://ftp.kde.org/pub/kde/stable"
|
|
|
|
|
|
|
|
# set this to one or more (space separated) URI ending with '/' if you want to check one or more local mirror(s) first
|
|
|
|
# most people just leave it empty.
|
|
|
|
LOCAL_MIRROR=""
|
|
|
|
|
|
|
|
# deltup-server to use
|
|
|
|
DELTUP_SERVER="http://linux01.gwdg.de/~nlissne/deltup.php"
|
|
|
|
|
|
|
|
# command to use for downloading
|
2014-07-19 18:29:13 +04:00
|
|
|
#FETCH="/usr/bin/wget --trust-server-names -t 1 --passive-ftp"
|
|
|
|
FETCH="/usr/bin/wget -t 1 --passive-ftp"
|
2012-05-18 18:20:39 +04:00
|
|
|
|
|
|
|
# number of seconds to wait before a queued request is retried
|
|
|
|
QUEUERETRY="15"
|
|
|
|
|
|
|
|
# the maximum queuepos you would accept (if higher download full archive instead)
|
|
|
|
MAXIMUM_ACCEPTABLE_QUEUEPOS="15"
|
|
|
|
|
|
|
|
# when a dtu-request is queued - how long should we wait max. before downloading the original archive instead (in seconds)
|
|
|
|
QUEUETIMEOUT="30"
|
|
|
|
|
|
|
|
# set to "true", if you want getdelta.sh to use Pkunk's integrity check for the old file before downloading dtu-files
|
|
|
|
CHECK_OLD_FILE="true"
|
|
|
|
|
|
|
|
# set to "true", if you want getdelta.sh to delete the old file, if patch was succesful
|
|
|
|
REMOVE_OLD="true"
|
|
|
|
|
|
|
|
# a list of files not to be removed by REMOVE_OLD feature
|
|
|
|
DO_NOT_REMOVE="/etc/deltup/do_not_remove"
|
|
|
|
|
|
|
|
# set this to "true" if you want getdelta.sh to delete old versions that seems to be corrupt,
|
|
|
|
# or to "false" if you want to delete them manually
|
|
|
|
# note: getdelta.sh will not use these files anyway
|
|
|
|
REMOVE_INCOMPLETE_OLD_FILES="true"
|
|
|
|
|
|
|
|
# set to "true", if you want verbose outputs (later to be set to a level [0-3])
|
|
|
|
VERBOSITY="true"
|
|
|
|
|
|
|
|
# set to "true", if you want colorful messages, "false" if not.
|
|
|
|
COLOR="true"
|
|
|
|
|
|
|
|
# set to a writable file (or to "/dev/null" if you do not want this) this is not used, if VERBOSITY is false
|
|
|
|
LOGFILE="/var/log/getdelta.log"
|
|
|
|
|
|
|
|
# set to "true" if you want a temporarily log only (deleted when getdelta is finished)
|
|
|
|
DELETE_LOG="true"
|
|
|
|
|
|
|
|
# set to "true", if you want messages from this script in a separate window
|
|
|
|
# set to "false", if you do not start getdelta.sh from an Xsession or if you
|
|
|
|
# do not have permissions to open terminals on the Xserver
|
|
|
|
SEPARATED_WINDOW="false"
|
|
|
|
|
|
|
|
# the terminal application to use for the separated window
|
|
|
|
TERM_APP="aterm -tr -trsb -fg white -bg black -sh 70 -e tail -f "
|
|
|
|
|
|
|
|
# the bandwidth in bytes per second. configure this if you want to reduce timeouts on small files
|
|
|
|
BANDWIDTH="1"
|
2014-08-10 13:45:17 +04:00
|
|
|
|
|
|
|
# command to use for downloading; first parameter is the filename, second the url
|
|
|
|
FETCHNAME="$FETCH -O"
|