summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman2010-04-09 03:09:13 +0200
committer Erik Hanson2010-05-15 10:25:28 +0200
commite921af5412f1ad773bcbba21688d25b850990be8 (patch)
tree38b1b3097f995333e6e37fb660a2986e4e12839a
parent737477bfb58c3a96a832ceb523700ab409babd8c (diff)
downloadslackbuilds-e921af5412f1ad773bcbba21688d25b850990be8.tar.gz
system/postgresql: set perms on init script.
Use mode 0755 by default on rc.postgresql, but if the script already exists on the system when the package is installed or upgraded, the existing permissions will be kept. Thanks to Don Allen for the problem report. For full context, see: http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-April/005405.html
-rw-r--r--system/postgresql/postgresql.SlackBuild1
-rw-r--r--system/postgresql/postgresql.info2
2 files changed, 2 insertions, 1 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index bffcc46125..86802b471b 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -121,6 +121,7 @@ chmod 700 $PKG/var/lib/pgsql/data
# Install init script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.postgresql.new > $PKG/etc/rc.d/rc.postgresql.new
+chmod 0755 $PKG/etc/rc.d/rc.postgresql.new
# Install logrotate script
mkdir -p $PKG/etc/logrotate.d
diff --git a/system/postgresql/postgresql.info b/system/postgresql/postgresql.info
index 09693ca017..172906d3df 100644
--- a/system/postgresql/postgresql.info
+++ b/system/postgresql/postgresql.info
@@ -2,8 +2,8 @@ PRGNAM="postgresql"
VERSION="8.4.2"
HOMEPAGE="http://www.postgresql.org"
DOWNLOAD="ftp://ftp.postgresql.org/pub/source/v8.4.2/postgresql-8.4.2.tar.bz2"
-DOWNLOAD_x86_64=""
MD5SUM="d738227e2f1f742d2f2d4ab56496c5c6"
+DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Adis Nezirovic"
EMAIL="adis_at_linux.org.ba"