Changed the hard-coding of postgresql "8.1 and 8.2" to "8.1, 8.2 or 8.3"

This commit is contained in:
fberckel 2008-05-19 13:54:51 +00:00
parent 066e0dab04
commit 45f0787576
4 changed files with 16 additions and 7 deletions

View file

@ -27,8 +27,11 @@ if [ -d /etc/postgresql/8.1 ]; then
elif [ -d /etc/postgresql/8.2 ]; then elif [ -d /etc/postgresql/8.2 ]; then
postgresql_dir=/etc/postgresql/8.2/main postgresql_dir=/etc/postgresql/8.2/main
postgresql_init_script=/etc/init.d/postgresql-8.2 postgresql_init_script=/etc/init.d/postgresql-8.2
elif [ -d /etc/postgresql/8.3 ]; then
postgresql_dir=/etc/postgresql/8.3/main
postgresql_init_script=/etc/init.d/postgresql-8.3
else else
echo "no postgresql 8.1 or 8.2 found" >&2 echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
exit 1 exit 1
fi fi

View file

@ -25,8 +25,11 @@ if [ -d /etc/postgresql/8.1 ]; then
elif [ -d /etc/postgresql/8.2 ]; then elif [ -d /etc/postgresql/8.2 ]; then
postgresql_dir=/etc/postgresql/8.2/main postgresql_dir=/etc/postgresql/8.2/main
postgresql_init_script=/etc/init.d/postgresql-8.2 postgresql_init_script=/etc/init.d/postgresql-8.2
elif [ -d /etc/postgresql/8.3 ]; then
postgresql_dir=/etc/postgresql/8.3/main
postgresql_init_script=/etc/init.d/postgresql-8.3
else else
echo "no postgresql 8.1 or 8.2 found" >&2 echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
exit 1 exit 1
fi fi
postgres_user=postgres postgres_user=postgres

View file

@ -26,8 +26,11 @@ if [ -d /etc/postgresql/8.1 ]; then
elif [ -d /etc/postgresql/8.2 ]; then elif [ -d /etc/postgresql/8.2 ]; then
postgresql_dir=/etc/postgresql/8.2/main postgresql_dir=/etc/postgresql/8.2/main
postgresql_init_script=/etc/init.d/postgresql-8.2 postgresql_init_script=/etc/init.d/postgresql-8.2
elif [ -d /etc/postgresql/8.3 ]; then
postgresql_dir=/etc/postgresql/8.3/main
postgresql_init_script=/etc/init.d/postgresql-8.3
else else
echo "no postgresql 8.1 or 8.2 found" >&2 echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
exit 1 exit 1
fi fi

View file

@ -53,8 +53,8 @@ Build-Depends: debhelper (>= 4.0.0),
libapache2-mod-php5, libapache2-mod-php5,
php-pear, php-pear,
php5-gd, php5-gd,
postgresql-8.1 | postgresql-8.2, postgresql-8.1 | postgresql-8.2 | postgresql-8.3,
postgresql-client-8.1 | postgresql-client-8.2 postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3
Standards-Version: 3.6.1 Standards-Version: 3.6.1
Package: campcaster-libs Package: campcaster-libs
@ -119,8 +119,8 @@ Depends: ${shlibs:Depends},
libapache2-mod-php5, libapache2-mod-php5,
php-pear, php-pear,
php5-gd, php5-gd,
postgresql-8.1 | postgresql-8.2, postgresql-8.1 | postgresql-8.2 | postgresql-8.3,
postgresql-client-8.1 | postgresql-client-8.2 postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3
Description: A radio program automation and support tool. Description: A radio program automation and support tool.
Campcaster is the first free and open radio management software that Campcaster is the first free and open radio management software that
provides live studio broadcast capabilities as well as remote automation provides live studio broadcast capabilities as well as remote automation