[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] Bug#260088: Care to change the bash-scripts into sh-scripts?



Package: popularity-contest
Version: 1.22
Severity: wishlist
Tags: patch

This patch, should you choose to accept it, will change two bash-scripts
into sh-scripts.


Regards: David Weinehall

diff -ur popularity-contest-1.22-old/debian/postinst popularity-contest-1.22/debian/postinst
--- popularity-contest-1.22-old/debian/postinst	2004-04-14 01:00:33.000000000 +0300
+++ popularity-contest-1.22/debian/postinst	2004-07-18 14:31:12.000000000 +0300
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 # Load debconf variables
 . /usr/share/debconf/confmodule
@@ -17,7 +17,7 @@
 # safe to ignore the value fetched by loading the file above.  This
 # should allow for using debconf to reconfigure the package.
 db_get popularity-contest/participate || true
-if [ "$RET" = "yes" -o "$RET" = "YES" -o "$RET" = "true" ]; then
+if [ "$RET" = "yes" ] || [ "$RET" = "YES" ] || [ "$RET" = "true" ]; then
     PARTICIPATE="yes"
 else
     PARTICIPATE="no"
diff -ur popularity-contest-1.22-old/popcon-process.sh popularity-contest-1.22/popcon-process.sh
--- popularity-contest-1.22-old/popcon-process.sh	2004-03-14 19:01:59.000000000 +0200
+++ popularity-contest-1.22/popcon-process.sh	2004-07-18 14:31:39.000000000 +0300
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 set -e
 cd /org/popcon.debian.org/popcon-mail
 umask 0002




Reply to: