aboutsummaryrefslogtreecommitdiffstats
path: root/src/package.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-11-07 13:22:16 +0200
committerTimo Teras <timo.teras@iki.fi>2008-11-07 13:22:16 +0200
commit6967c28b96784d474e6c2f50b075895d89f9ce02 (patch)
treeed9aeb922dce223abacd41f51a1af8a3c7399789 /src/package.c
parent36f73847ee4faa9fd84d2bd5be3f28ff70c7bf19 (diff)
downloadaports-6967c28b96784d474e6c2f50b075895d89f9ce02.tar.gz
aports-6967c28b96784d474e6c2f50b075895d89f9ce02.tar.bz2
aports-6967c28b96784d474e6c2f50b075895d89f9ce02.tar.xz
db: fix installation of apk v1 packages
Diffstat (limited to 'src/package.c')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index 1cbf203020..1b4144451a 100644
--- a/src/package.c
+++ b/src/package.c
@@ -172,7 +172,7 @@ int apk_script_type(const char *name)
strcmp(script_types[i], name) == 0)
return i;
- return -1;
+ return APK_SCRIPT_INVALID;
}
struct read_info_ctx {