cpack_repository/commit

Typo, leading to poor message if package does not exist

authorJan Wielemaker
Wed May 11 14:36:02 2011 +0200
committerJan Wielemaker
Wed May 11 14:36:02 2011 +0200
commitde16a0a7266a18472318932cd26f846fd2df53b0
tree7b1d842eae4a4b8654f104c08ab9d258d9dcd2a2
parent9c89ff99163a943656a1a0f374fb9c5a2bdc69ee
Diff style: patch stat
diff --git a/api/cpack.pl b/api/cpack.pl
index c0bd6c0..9da2315 100644
--- a/api/cpack.pl
+++ b/api/cpack.pl
@@ -89,7 +89,7 @@ cpack_install_data(Request) :-
 	memberchk(path_info(PackName), Request), !,
 	(   rdf_has(Pack, cpack:packageName, literal(PackName))
 	->  reply_install_data(PackName, [Pack])
-	;   reply(PackName, no_pack(PackName))
+	;   reply(PackName, no_cpack(PackName))
 	).
 cpack_install_data(Request) :-
 	http_parameters(Request,