summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenServer/pkg/Remove
blob: ea6102ac38a2b029a84cecd0e16361f1f37c5142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# Generic command-line Software Manger (custom) removal from
# media images. Based on the installation script by Phil Hollenback 
# (philiph@sco.com) and Ron Record (rr@sco.com)
#

# Set this to be the full pathname to the directory 
# where your media images are:
VDIR=`pwd`/archives/FLOPPY
VOLS=$VDIR/VOL.000.000

component=`grep "component" < $VOLS | head -1 | cut -d= -f2 | cut -d: -f1`
package=`grep "component" < $VOLS | head -1 | cut -d= -f2 | cut -d: -f2`

custom -p $component:$package -r