Skip to content

Commit

Permalink
* Fix repo sync issue.
Browse files Browse the repository at this point in the history
* get-mirror should delete temp files when complete.
  • Loading branch information
fewtarius committed Jul 13, 2024
1 parent 98a673b commit 4ea8d99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PKGBUILD/steamfork-customizations-jupiter/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ case ${1} in
echo ${SELECTED_MIRROR}
break
fi
sleep .1
done
;;
esac

rm -f ${STAGING_MIRRORLIST}
2 changes: 1 addition & 1 deletion scripts/sync
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ea8d99

Please sign in to comment.