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