Artifact fa7af0725537734f81ca5399e921ac02d80d0aee6a8eccde127274d16a350152:
- File mtt/lib/examples/debian/preinst.ex — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 940) [annotate] [blame] [check-ins using] [more...]
- File
mttroot/mtt/lib/examples/debian/preinst.ex
— part of check-in
[e6c98916c8]
at
2004-02-19 00:47:19
on branch origin/master
— 898897 Separate examples from main .deb
Created new .deb package for examples (mtt-examples).mtt-examples depends on mtt.
mtt recommends mtt-examples. (user: geraint@users.sourceforge.net, size: 940) [annotate] [blame] [check-ins using]
#! /bin/sh # preinst script for mtt-examples # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/mtt-examples.pid \ # --exec /usr/sbin/mtt-examples 2>/dev/null || true # fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0