Changeset 790 in ProjectBuilder


Ignore:
Timestamp:
Jun 15, 2009, 4:31:55 AM (15 years ago)
Author:
Bryan Gartner
Message:

consolidate post actions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/linuxcoe/pbconf/cvs/linuxcoe-sd-base/rpm/linuxcoe-sd-base.spec

    r759 r790  
    6868
    6969%post
    70 # We should add a link so that Apache finds the new conf file
    71 ln -sf PBsysconfdir/includes/LinuxCOE-SystemDesigner.conf /etc/httpd/conf.d
     70PBprefix/bin/post-actions -i
    7271
    73 # httpd
    74 LANGUAGE=C /etc/init.d/httpd status 2>&1 | grep -q stop
    75 if [ $? -eq 0 ]; then
    76         /etc/init.d/httpd start
    77 else
    78         /etc/init.d/httpd reload
    79 fi
    80 chkconfig --add httpd
     72%postun
     73PBprefix/bin/post-actions -u
    8174
    8275%changelog
Note: See TracChangeset for help on using the changeset viewer.