diff -Nru libapache-mod-random-1.4/debian/changelog libapache-mod-random-1.4/debian/changelog --- libapache-mod-random-1.4/debian/changelog 2007-03-11 16:49:35.000000000 +0100 +++ libapache-mod-random-1.4/debian/changelog 2007-03-11 16:49:35.000000000 +0100 @@ -1,3 +1,11 @@ +libapache-mod-random (1.4-9ubuntu1) feisty; urgency=low + + * postinst, postrm, preinst, prerm: remove bashism by replacing let call + (Closes LP: #90933) + * debian/control: Change Maintainer/XSBC-Original-Maintainer field + + -- Lionel Porcheron Sun, 11 Mar 2007 16:41:07 +0100 + libapache-mod-random (1.4-9) unstable; urgency=low * "Easter bunny" release diff -Nru libapache-mod-random-1.4/debian/control libapache-mod-random-1.4/debian/control --- libapache-mod-random-1.4/debian/control 2007-03-11 16:49:35.000000000 +0100 +++ libapache-mod-random-1.4/debian/control 2007-03-11 16:49:35.000000000 +0100 @@ -1,7 +1,8 @@ Source: libapache-mod-random Section: web Priority: optional -Maintainer: Paweł Więcek +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Paweł Więcek Build-Depends: debhelper (>= 4.1.16), apache-dev (>= 1.3.34) Standards-Version: 3.6.2 diff -Nru libapache-mod-random-1.4/debian/postinst libapache-mod-random-1.4/debian/postinst --- libapache-mod-random-1.4/debian/postinst 2007-03-11 16:49:35.000000000 +0100 +++ libapache-mod-random-1.4/debian/postinst 2007-03-11 16:49:35.000000000 +0100 @@ -16,7 +16,7 @@ # upgraded db_get shared/apache-modules/counters/upgrade COUNT="$RET" - let COUNT-- || true + COUNT=$(($COUNT-1)) || true db_set shared/apache-modules/counters/upgrade "$COUNT" if [ "$COUNT" -eq 0 ] then @@ -35,7 +35,7 @@ # newly installed db_get shared/apache-modules/counters/install COUNT="$RET" - let COUNT-- || true + COUNT=$(($COUNT-1)) || true db_set shared/apache-modules/counters/install "$COUNT" if [ "$COUNT" -eq 0 ] then diff -Nru libapache-mod-random-1.4/debian/postrm libapache-mod-random-1.4/debian/postrm --- libapache-mod-random-1.4/debian/postrm 2007-03-11 16:49:35.000000000 +0100 +++ libapache-mod-random-1.4/debian/postrm 2007-03-11 16:49:35.000000000 +0100 @@ -12,7 +12,7 @@ remove) db_get shared/apache-modules/counters/remove COUNT="$RET" - let COUNT-- || true + COUNT=$(($COUNT-1)) || true db_set shared/apache-modules/counters/remove "$COUNT" if [ "$COUNT" -eq 0 ] then diff -Nru libapache-mod-random-1.4/debian/preinst libapache-mod-random-1.4/debian/preinst --- libapache-mod-random-1.4/debian/preinst 2007-03-11 16:49:35.000000000 +0100 +++ libapache-mod-random-1.4/debian/preinst 2007-03-11 16:49:35.000000000 +0100 @@ -20,7 +20,7 @@ : else # add this module to list & counter - let COUNT++ || true + COUNT=$(($COUNT+1)) || true LIST="$LIST,$MODULE" db_set shared/apache-modules/counters/install "$COUNT" db_set shared/apache-modules/counters/install_list "$LIST" @@ -51,7 +51,7 @@ : else # add this module to list & counter - let COUNT++ || true + COUNT=$(($COUNT+1)) || true LIST="$LIST,$MODULE" db_set shared/apache-modules/counters/upgrade "$COUNT" db_set shared/apache-modules/counters/upgrade_list "$LIST" diff -Nru libapache-mod-random-1.4/debian/prerm libapache-mod-random-1.4/debian/prerm --- libapache-mod-random-1.4/debian/prerm 2007-03-11 16:49:35.000000000 +0100 +++ libapache-mod-random-1.4/debian/prerm 2007-03-11 16:49:35.000000000 +0100 @@ -20,7 +20,7 @@ : else # add this module to list & counter - let COUNT++ || true + COUNT=$(($COUNT+1)) || true LIST="$LIST,$MODULE" db_set shared/apache-modules/counters/remove "$COUNT" db_set shared/apache-modules/counters/remove_list "$LIST"