aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rwxr-xr-xcore/carbs-docs/post-install6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/carbs-docs/post-install b/core/carbs-docs/post-install
index 1405a920..f0820e47 100755
--- a/core/carbs-docs/post-install
+++ b/core/carbs-docs/post-install
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
-command -v install-info >/dev/null &&
- install-info $CPT_ROOT/usr/share/info/carbslinux.info $CPT_ROOT/usr/share/info/dir
+command -v install-info >/dev/null || exit 0
+install-info "$CPT_ROOT/usr/share/info/carbslinux.info" "$CPT_ROOT/usr/share/info/dir"