[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [MoM] Packaging fis-get



Hi Andreas


On Sat, Jan 28, 2012 at 1:41 PM, Andreas Tille <andreas@an3as.eu> wrote:

> I would focus now on the "postint" script.

That's no the start of the real fun.  We just defined here on the sprint
packaging as equal to "ran into trouble" which is only sometimes
interrupted by "running in massive trouble".

Kind regards and keep on posting about your progress with postinst




Fixing the "postinst" script was "suspiciously" easy...

(so, I'm cross checking with Bhaskar, just in case...)


The script was attempting to use rmdir to delete a temporary directory,
that happened to still contain files.  I replaced it with "rm -rf" as it was
already done in line 53 of the same script.

The change was:

--- postinst    (revision 9484)
+++ postinst    (working copy)
@@ -83,7 +83,7 @@
     echo "... automatic configuration finished"
     echo "##############################################"
     cd ..
-    rmdir TMPPOSTINST
+    rm -rf TMPPOSTINST
     ;;



I just committed this change as well.

Now I can build the "fis-gtm-initial" package
and install it without error messages.


     Luis



Reply to: