Changeset 875 for trunk/Install
- Timestamp:
- Oct 1, 2017, 10:46:05 PM (7 years ago)
- Location:
- trunk/Install/deb/debian
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/deb/debian/postinst
r873 r875 18 18 } 19 19 20 service_install() { 21 mkdir -p /etc/systemd/system 22 ln -sf ../../wowpreklad/wowpreklad.service /etc/systemd/system/wowpreklad.service 23 } 24 20 25 if [ "$1" = "configure" ]; then 21 26 apache_install $@ 27 service_install $@ 22 28 fi 23 29 -
trunk/Install/deb/debian/postrm
r873 r875 17 17 } 18 18 19 service_remove() { 20 if [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then 21 rm -f /etc/systemd/system/wowpreklad.service 22 fi 23 } 24 19 25 if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then 20 26 apache_remove $1 27 service_remove $1 21 28 fi 22 29
Note:
See TracChangeset
for help on using the changeset viewer.