91 |
done |
done |
92 |
|
|
93 |
SMAGEFILE="$1" |
SMAGEFILE="$1" |
94 |
|
[ -z ${SMAGEFILE} ] && die "No smage file given." |
95 |
|
[ -e ${SMAGEFILE} ] || die "Smage file '${SMAGEFILE}' does not exist." |
96 |
|
|
97 |
if [[ -n ${PKGTARBALL} ]] |
if [[ -n ${PKGTARBALL} ]] |
98 |
then |
then |
112 |
fi |
fi |
113 |
|
|
114 |
# get generic package information from smage file |
# get generic package information from smage file |
115 |
source ${SMAGEFILE} |
smagesource ${SMAGEFILE} |
116 |
|
|
117 |
# set the right meta-location |
# set the right meta-location |
118 |
[[ ! -d ${METADIR} ]] && install -d ${METADIR} |
[[ ! -d ${METADIR} ]] && install -d ${METADIR} |