Changeset 65 for trunk/rules.deb.in


Ignore:
Timestamp:
Oct 29, 2006, 11:33:21 PM (15 years ago)
Author:
rainer
Message:

Fix some minor bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.deb.in

    r1 r65  
    7070        dh_installdebconf       
    7171        dh_installdocs
    72         [ -f debian/tmp/usr/share/doc/@install_name@/MANUAL-2_0.html.tar ] && \
     72        [ -f debian/tmp/usr/share/doc/@install_name@/MANUAL-2_2.html.tar ] && \
    7373                cd debian/tmp/usr/share/doc/@install_name@ && \
    74                 tar xf MANUAL-2_0.html.tar && mv MANUAL-2_0 manual.html && \
    75                 rm -f MANUAL-2_0.html.tar
     74                tar xf MANUAL-2_2.html.tar && mv MANUAL-2_2 manual.html && \
     75                rm -f MANUAL-2_2.html.tar
    7676        dh_installexamples @top_srcdir@/scripts/example_pager.pl \
    7777                @top_srcdir@/scripts/example_sms.pl \
     
    9090                    sed 's%/etc/init.d/@install_name@ start%:%' > postinst.tmp && \
    9191                    mv postinst.tmp postinst.debhelper
     92        [ -f debian/postinst.debhelper ] && \
     93                cd debian && \
     94                cat postinst.debhelper | \
     95                    sed 's%invoke-rc.d @install_name@ start%:%' > postinst.tmp && \
     96                    mv postinst.tmp postinst.debhelper
    9297        [ -f debian/prerm.debhelper ] && \
    9398                cd debian && \
    9499                cat prerm.debhelper | \
    95100                    sed 's%/etc/init.d/@install_name@ stop%/etc/init.d/@install_name@ stop || echo service @install_name@ already stopped%' > prerm.tmp && \
     101                    mv prerm.tmp prerm.debhelper
     102        [ -f debian/prerm.debhelper ] && \
     103                cd debian && \
     104                cat prerm.debhelper | \
     105                    sed 's%invoke-rc.d @install_name@ stop%invoke-rc.d @install_name@ stop || echo service @install_name@ already stopped%' > prerm.tmp && \
    96106                    mv prerm.tmp prerm.debhelper
    97107        # dh_installmanpages
Note: See TracChangeset for help on using the changeset viewer.