blob: a2f47bc17fb77967132ecafef7a512fbc44d27ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
#
# PKGDEL -- Delete an external package from the dynamic directory.
bindir="`dirname $0`" # get iraf root
irafdir=${bindir%/*}
# Initialize the $iraf and environment.
if [ -z "$iraf" ]; then
if [ -e "$FAKEHOME/setup.sh" ]; then
source $FAKEHOME/setup.sh
else
source ../unix/hlib/setup.sh
fi
else
source $iraf/unix/hlib/setup.sh
fi
if [ -e $1 ]; then
/bin/rm -rf $1 >> /dev/null 2>&1
fi
exit 0
|