[Mud-builder-users] pegasus-mobile-notetaker.xml

Danny Milosavljevic danny.milo at scratchpost.org
Thu Apr 8 01:54:52 EEST 2010


Just in case someone runs into the same problem:
the fix for my debian build problem was to use "dh_gencontrol" instead of "dpkg-gencontrol" and "dh_builddeb" instead of "dpkg-build" and doing both only after "dh_md5sums".

So the official working "pegasus-mobile-notetaker.xml" is:

<?xml version="1.0"?>
  <fetch type="tarball">
    <description>download the stored notes off the Pegasus Mobile Notetaker device\nTools for downloading the stored notes off the Pegasus Mobile Notetaker device (or compatible: IOGEAR etc).</description>

If anyone wants to add that to MUD, feel free :-)

I still needed to apply a tiny patch to MUD:

--- lib/MUD/Fetch/Tarball.pm~	2010-04-08 01:41:21.000000000 +0200
+++ lib/MUD/Fetch/Tarball.pm	2010-04-08 01:40:13.000000000 +0200
@@ -100,13 +100,13 @@ sub unpack {
     my @args  = ($file);
     $_ = $file;
-    if (s/\.tar\.gz$// or s/\.tgz$//) {
+    if (s/\.tar\.gz$//i or s/\.tgz$//i) {
 	unshift @args, 'tar', 'xzf';
-    } elsif (s/\.tar\.bz2$//) {
+    } elsif (s/\.tar\.bz2$//i) {
         unshift @args, 'tar', 'xjf';
-    } elsif (s/\.zip$//) {
+    } elsif (s/\.zip$//i) {
         unshift @args, 'unzip';
     } else {

Now it works :-)


More information about the Mud-builder-users mailing list