Debian Codegraph @

solaris/checkinstall

raw
1 #!/bin/sh
2 #
3 trap `exit 3` 15
4
5 # Assign Solaris release class to install release specific files
6 smf=no
7 if [ -f /usr/sbin/svccfg -a -f /usr/sbin/svcadm ] ; then smf=yes ; fi
8 if [ $smf = yes ]
9 then
10 CLASSES='none smf'
11 else
12 CLASSES='none nonsmf'
13 fi
14
15 # Make env variables available to other packaging scripts
16
17 cat >$1 <<!
18 CLASSES='$CLASSES'
19 !
20
21 exit 0
22