summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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