- if [ -f $paket.postinst ]
- then
- echo "add_inst_tgt += debian/tmp/DEBIAN/postinst" >> rules.pre
- fi
- if [ -f $paket.prerm ]
- then
- echo "add_inst_tgt += debian/tmp/DEBIAN/prerm" >> rules.pre
- fi
- if [ -f $paket.postrm ]
- then
- echo "add_inst_tgt += debian/tmp/DEBIAN/postrm" >> rules.pre
- fi
+ if [ -f $paket.postinst ]
+ then
+ echo "add_inst_tgt += debian/tmp/DEBIAN/postinst" >> rules.pre
+ fi
+ if [ -f $paket.prerm ]
+ then
+ echo "add_inst_tgt += debian/tmp/DEBIAN/prerm" >> rules.pre
+ fi
+ if [ -f $paket.postrm ]
+ then
+ echo "add_inst_tgt += debian/tmp/DEBIAN/postrm" >> rules.pre
+ fi
+
+ cat setenv.sh >> rules.pre