-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syncrepo.sh: Use rsync-repos from a local checkout
Allow using the rsync-repos script from a local checkout of the releng scripts repository. While at it, add the script as a submodule for convenience.
- Loading branch information
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "ostree-releng-scripts"] | ||
path = ostree-releng-scripts | ||
url = https://github.com/ostreedev/ostree-releng-scripts |
Submodule ostree-releng-scripts
added at
621f76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ set -e | |
LOCAL="$(dirname "$0")/.flatpak-repo/" | ||
REMOTE='[email protected]:/srv/http/flatpak.perezdecastro.org/revolt/' | ||
|
||
RSYNC_REPOS=$(type -P ostree-rsync-repos rsync-repos | head -1) | ||
RSYNC_REPOS=$(type -P ostree-rsync-repos rsync-repos \ | ||
"$(dirname "$0")/ostree-releng-scripts/rsync-repos" | head -1) | ||
if [[ -z ${RSYNC_REPOS} ]] ; then | ||
echo "$0: The ostree-rsync-repos (or rsync-repos) tool is not installed." | ||
echo 'Please install from https://github.com/ostreedev/ostree-releng-scripts' | ||
|