Changeset 34
- Timestamp:
- 02/07/06 14:00:07 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r33 r34 682 682 if ($pkg eq 'main') { 683 683 if ($preinstscript ne '') { 684 $preinstscript = expandmacros($preinstscript,'g'); 684 685 open PREINST, ">$buildroot/$pkg/DEBIAN/preinst"; 685 686 print PREINST "#!/bin/sh\nset -e\n\n"; … … 689 690 } 690 691 if ($postinstscript ne '') { 692 $postinstscript = expandmacros($postinstscript,'g'); 691 693 open POSTINST, ">$buildroot/$pkg/DEBIAN/postinst"; 692 694 print POSTINST "#!/bin/sh\nset -e\n\n"; … … 696 698 } 697 699 if ($preuninstscript ne '') { 700 $preuninstscript = expandmacros($preuninstscript,'g'); 698 701 open PREUNINST, ">$buildroot/$pkg/DEBIAN/prerm"; 699 702 print PREUNINST "#!/bin/sh\nset -e\n\n"; … … 703 706 } 704 707 if ($postuninstscript ne '') { 708 $postuninstscript = expandmacros($postuninstscript,'g'); 705 709 open POSTUNINST, ">$buildroot/$pkg/DEBIAN/postrm"; 706 710 print POSTUNINST "#!/bin/sh\nset -e\n\n";
Note:
See TracChangeset
for help on using the changeset viewer.