]> git.pld-linux.org Git - packages/phpPgAdmin.git/commitdiff
- fix %post - make symlinks rather than move files auto/ac/phpPgAdmin-3_4_1-2
authortwittner <twittner@pld-linux.org>
Wed, 21 Jul 2004 14:03:31 +0000 (14:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  already matched by %files (noticed by qboosh).
- rel. 2

Changed files:
    phpPgAdmin.spec -> 1.35

phpPgAdmin.spec

index a4f9ec64f7f206fe2f34587d252ddc9de51e6ebc..a7a801c3a34b0dcfff50ed3559a032e56fa52a07 100644 (file)
@@ -2,7 +2,7 @@ Summary:        phpPgAdmin - web-based PostgreSQL administration
 Summary(pl):   phpPgAdmin - administracja bazami PostgreSQL przez WWW
 Name:          phpPgAdmin
 Version:       3.4.1
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Applications/Databases/Interfaces
 Source0:       http://dl.sourceforge.net/phppgadmin/%{name}-%{version}.tar.bz2
@@ -65,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*%{name}.conf" /etc/httpd/httpd.conf; then
        echo "Include /etc/httpd/%{name}.conf" >> /etc/httpd/httpd.conf
 elif [ -d /etc/httpd/httpd.conf ]; then
-       mv -f /etc/httpd/%{name}.conf /etc/httpd/httpd.conf/99_%{name}.conf
+       ln -sf /etc/httpd/%{name}.conf /etc/httpd/httpd.conf/99_%{name}.conf
 fi
 if [ -f /var/lock/subsys/httpd ]; then
        /usr/sbin/apachectl restart 1>&2
@@ -78,7 +78,7 @@ if [ "$1" = "0" ]; then
            rm -f /etc/httpd/httpd.conf/99_%{name}.conf
        else
                grep -v "^Include.*%{name}.conf" /etc/httpd/httpd.conf > \
-                       etc/httpd/httpd.conf.tmp
+                       /etc/httpd/httpd.conf.tmp
                mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
                if [ -f /var/lock/subsys/httpd ]; then
                    /usr/sbin/apachectl restart 1>&2
This page took 0.045402 seconds and 4 git commands to generate.