From e921af5412f1ad773bcbba21688d25b850990be8 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 8 Apr 2010 20:09:13 -0500 Subject: 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 --- system/postgresql/postgresql.SlackBuild | 1 + system/postgresql/postgresql.info | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'system') 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" -- cgit v1.2.3