ObjFW  Diff

Differences From Artifact [c9aa276a86]:

To Artifact [46555fcbc5]:


72
73
74
75
76
77
78
79

80
81

82
83
84
85
86
87
88
72
73
74
75
76
77
78

79
80

81
82
83
84
85
86
87
88







-
+

-
+







    --version         Outputs the installed version
__EOF__
	exit $1
}

test -z "$1" && show_help 1

package_description() {
package_format() {
	if test "$1" != "1"; then
		echo "Unsupported package description version: $1" 1>&2
		echo "Unsupported package format version: $1" 1>&2
		exit 1
	fi
}

package_depends_on() {
	if ! test -f "$packagesdir/$1.oc"; then
		echo "No such package: $1" 1>&2