diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-14 09:56:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-14 09:56:15 +0000 |
commit | 2e31e9dc0b6596bc081e10c5514640a35dccd67f (patch) | |
tree | 1c786eed899e076fb1c3d9f2484e8bc0a101e1a6 /bin | |
parent | Updating. (diff) | |
download | progress-linux-tools-2e31e9dc0b6596bc081e10c5514640a35dccd67f.tar.xz progress-linux-tools-2e31e9dc0b6596bc081e10c5514640a35dccd67f.zip |
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/git-new.sh | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/bin/git-new.sh b/bin/git-new.sh index 176f854..92c6c5e 100755 --- a/bin/git-new.sh +++ b/bin/git-new.sh @@ -57,6 +57,14 @@ case "${DISTRIBUTION}" in SSH_OPTIONS="-o ControlMaster=no" ;; + sid|rc-buggy) + CATEGORY="upstream" + ORIGIN="fastforward-packages" + BRANCH="main" + SSH_OPTIONS="-o ControlMaster=no" + ;; + + *) CATEGORY="" ORIGIN="${DISTRIBUTION}" @@ -71,5 +79,13 @@ do ssh ${SSH_OPTIONS} git@git.fastforward-packages.org create ${REPOSITORY} ssh ${SSH_OPTIONS} git@git.fastforward-packages.org desc ${REPOSITORY} ${ORIGIN}: ${PACKAGE} - ssh ${SSH_OPTIONS} git@git.fastforward-packages.org symbolic-ref ${REPOSITORY} HEAD refs/heads/${BRANCH} + + case "${BRANCH}" in + main) + ;; + + *) + ssh ${SSH_OPTIONS} git@git.fastforward-packages.org symbolic-ref ${REPOSITORY} HEAD refs/heads/${BRANCH} + ;; + esac done |