summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 09:36:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 09:36:52 +0000
commita2fdca64a0f32269ddb576d915d0bb64e133a60e (patch)
tree576e7747d9bb2951b75b5a8da2fc4b68ecf31144
parentAdding web. (diff)
downloadprogress-linux-tools-a2fdca64a0f32269ddb576d915d0bb64e133a60e.tar.xz
progress-linux-tools-a2fdca64a0f32269ddb576d915d0bb64e133a60e.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xbin/pimport.sh46
1 files changed, 27 insertions, 19 deletions
diff --git a/bin/pimport.sh b/bin/pimport.sh
index 27b74cb..5ca93da 100755
--- a/bin/pimport.sh
+++ b/bin/pimport.sh
@@ -13,6 +13,10 @@ case "$(basename ${0})" in
esac
case "${MODE}" in
+ debian)
+ DOWNSTREAM_BRANCH=""
+ ;;
+
progress-linux)
MAINTAINER="Progress Linux Maintainers <maintainers@lists.progress-linux.org>"
UPLOADERS="Daniel Baumann <daniel.baumann@progress-linux.org>"
@@ -509,26 +513,30 @@ then
rm -rf "${DSC_TEMPDIR}"
fi
-Create_downstream_branch
+# progress-linux / bfh
+if [ -n "${DOWNSTREAM_BRANCH}" ]
+then
+ Create_downstream_branch
-Update_maintainer_field
-Update_uploaders_field
-Update_bugs_field
-Update_vcs_fields
-Update_source_format
+ Update_maintainer_field
+ Update_uploaders_field
+ Update_bugs_field
+ Update_vcs_fields
+ Update_source_format
-if [ -e debian/control.in ] || [ -e debian/templates/control.source.in ] || [ -e debian/control.md5sum ]
-then
- echo "################################################################################"
- echo "${RED}WARNING:${NORMAL} debian/control.in exists,"
- echo "likely the debian files need to be regenerated (manually)."
- echo "################################################################################"
-fi
+ if [ -e debian/control.in ] || [ -e debian/templates/control.source.in ] || [ -e debian/control.md5sum ]
+ then
+ echo "################################################################################"
+ echo "${RED}WARNING:${NORMAL} debian/control.in exists,"
+ echo "likely the debian files need to be regenerated (manually)."
+ echo "################################################################################"
+ fi
-if [ "$(grep -rs '^Maintainer:' debian | wc -l )" -gt 1 ]
-then
- echo "################################################################################"
- echo "${RED}WARNING:${NORMAL} more than one Maintainer field exists,"
- echo "likely further debian files need to be changed (manually)."
- echo "################################################################################"
+ if [ "$(grep -rs '^Maintainer:' debian | wc -l )" -gt 1 ]
+ then
+ echo "################################################################################"
+ echo "${RED}WARNING:${NORMAL} more than one Maintainer field exists,"
+ echo "likely further debian files need to be changed (manually)."
+ echo "################################################################################"
+ fi
fi