projects
/
grml-tips.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe95fb2
)
postinst: fix error handling if actions fails and adjust code indention
author
Michael Prokop
<mika@grml.org>
Wed, 11 Jan 2012 14:11:31 +0000
(15:11 +0100)
committer
Michael Prokop
<mika@grml.org>
Wed, 11 Jan 2012 14:11:31 +0000
(15:11 +0100)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
585579a
..
aa0a6a6
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-7,9
+7,11
@@
then
then
echo "Ok"
else
then
echo "Ok"
else
- echo "Failed"
+ echo "Failed" >&2
+ exit 1
fi
fi
fi
fi
- #DEBHELPER#
- exit 0
+#DEBHELPER#
+
+exit 0