diff --git a/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD b/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD index 139b8c5e..a5989d3f 100644 --- a/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD +++ b/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD @@ -2,7 +2,7 @@ pkgname=steamfork-customizations-jupiter pkgver=2024.07.13 -pkgrel=1 +pkgrel=3 pkgdesc='SteamFork customizations provider.' arch=('any') url='http://www.steamfork.org' diff --git a/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-get-mirror b/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-get-mirror index c9410d51..4241ecef 100755 --- a/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-get-mirror +++ b/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-get-mirror @@ -44,6 +44,9 @@ case ${1} in echo ${SELECTED_MIRROR} break fi + sleep .1 done ;; esac + +rm -f ${STAGING_MIRRORLIST} diff --git a/scripts/sync b/scripts/sync index 70cc9f8b..cb7a5dbd 100755 --- a/scripts/sync +++ b/scripts/sync @@ -84,7 +84,7 @@ EOF for MIRROR_HOST in ${MIRROR_HOSTS} do ssh -tt ${WWWUSER}@${WWWHOST} "cd ${WWWROOT}; rsync -av --delete --exclude=${WWWROOT}/.sync.txt * ${MIRROR_HOST}:${WWWROOT}/" - ssh -tt ${MIRROR_HOST} "sudo chown -R www-data:www-data ${WWWROOT}" + ssh -tt ${MIRROR_HOST} "sudo find ${WWWROOT} -type f -exec chown www-data:www-data {} \;; sudo find ${WWWROOT} -type f -exec chmod 664 {} \;; sudo find ${WWWROOT} -type d -exec chmod 775 {} \;;" done ;; esac