Changeset 2630 for trunk/packages
- Timestamp:
- Dec 17, 2009, 5:56:04 PM (15 years ago)
- Location:
- trunk/packages/invirt-dev/debian
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/debian/invirt-dev.postinst
r2588 r2630 21 21 fi 22 22 23 invirt-build-conf24 25 23 cat >>/etc/sudoers <<EOF 26 24 ### BEGIN invirt-dev … … 28 26 ### END invirt-dev 29 27 EOF 28 30 29 echo "-----" 31 30 echo "invirt-dev: run" … … 45 44 ;; 46 45 esac 46 47 if [ -x /etc/init.d/invirt-dev ]; then 48 if hash invoke-rc.d 2>/dev/null; then 49 invoke-rc.d invirt-dev start 50 else 51 /etc/init.d/invirt-dev start 52 fi 53 fi -
trunk/packages/invirt-dev/debian/invirt-dev.prerm
r1782 r2630 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 23 23 ;; 24 24 … … 32 32 esac 33 33 34 if [ -x /etc/init.d/invirt-dev ]; then 35 if hash invoke-rc.d 2>/dev/null; then 36 invoke-rc.d invirt-dev stop 37 else 38 /etc/init.d/invirt-dev stop 39 fi 40 fi 41 34 42 # dh_installdeb will replace this with shell code automatically 35 43 # generated by other debhelper scripts. -
trunk/packages/invirt-dev/debian/rules
r2627 r2630 2 2 3 3 DEB_PYTHON_SYSTEM=pysupport 4 5 # We use --no-start instead of letting dh_installinit do its thing 6 # because, in the postinst, dh_installinit's automatically added code 7 # runs before dh_pysupport's automatically added code. 8 # 9 # This means that when the initscript is started, Python modules 10 # installed by the package haven't been fully installed yet. 11 DEB_DH_INSTALLINIT_ARGS += --no-start 4 12 5 13 include /usr/share/cdbs/1/rules/debhelper.mk
Note: See TracChangeset
for help on using the changeset viewer.