blob: 0650740ab37e05d3573a4fafddf91fee4fe753d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# reads a package description script and outputs the attributes in a format easy
# for the snag program to read
if [ -z "$1" ]; then
echo "Usage: $0 <description script>" >&2
exit 1
fi
# load the description script
. $1
# echo package properties
echo ID $pkg_id
echo NAME $pkg_name
echo DESC $pkg_desc
|