-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: luarocks Version: 2.0.1-1 Severity: important Tags: patch
LuaRocks package generate the following directories /usr/lib/luarocks/bin /urs/lib/luarocks/rocks However, it should generate /usr/local/lib/luarocks/bin /urs/local/lib/luarocks/rocks - -- System Information: Debian Release: lenny/sid APT prefers intrepid-updates APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 'intrepid') Architecture: i386 (i686) Kernel: Linux 2.6.27-14-server (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages luarocks depends on: ii liblua5.1-0-dev [liblua5 5.1.3-1 Simple, extensible, embeddable pro ii lua5.1 5.1.3-1 Simple, extensible, embeddable pro ii wget 1.11.4-1ubuntu1 retrieves files from the web ii zip 2.32-1 Archiver for .zip files luarocks recommends no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkr15/gACgkQBV7eXqefhqi1kQCdFfrLy8cFKS+Fj6glfZlPqqzk sdIAnjqMPEITbaiQSOvei3+n9oWbnTG8 =pMgm -----END PGP SIGNATURE-----
diff -ruN luarocks-2.0.1.orig/debian/rules luarocks-2.0.1/debian/rules --- luarocks-2.0.1.orig/debian/rules 2009-11-07 21:33:29.000000000 +0100 +++ luarocks-2.0.1/debian/rules 2009-11-07 22:20:02.000000000 +0100 @@ -27,8 +27,8 @@ mkdir -p $(DEB_DESTDIR)/usr/bin/ mkdir -p $(DEB_DESTDIR)/usr/share/lua/5.1/ mkdir -p $(DEB_DESTDIR)/usr/share/doc/luarocks/doc/ - mkdir -p $(DEB_DESTDIR)/usr/lib/luarocks/bin - mkdir -p $(DEB_DESTDIR)/usr/lib/luarocks/rocks + mkdir -p $(DEB_DESTDIR)/usr/local/lib/luarocks/bin + mkdir -p $(DEB_DESTDIR)/usr/local/lib/luarocks/rocks cp -r src/luarocks $(DEB_DESTDIR)/usr/share/lua/5.1/ cp src/bin/* $(DEB_DESTDIR)/usr/bin/ make luadoc