Remove unused function
This commit is contained in:
@@ -9,8 +9,6 @@ if [ "$UID" -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
verifymasterstatus
|
||||
|
||||
rsync_cmd() {
|
||||
local -a cmd=(rsync -rlptH --safe-links --delete-delay --delay-updates
|
||||
"--timeout=600" "--contimeout=60" --no-motd)
|
||||
@@ -43,7 +41,6 @@ source_url='rsync://frankfurt.mirror.pkgbuild.com/packages/'
|
||||
|
||||
lastupdate_url='https://frankfurt.mirror.pkgbuild.com/lastupdate'
|
||||
|
||||
|
||||
[ ! -d "${target}" ] && mkdir -p "${target}"
|
||||
|
||||
exec 9>"${lock}"
|
||||
@@ -71,6 +68,4 @@ else
|
||||
chmod 775 -R /mnt/POOL1/Mirrors
|
||||
chown 1000:1001 -R /mnt/POOL1/Mirrors
|
||||
fi
|
||||
exit
|
||||
|
||||
|
||||
exit
|
||||
Reference in New Issue
Block a user