aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 18:54:15 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 18:54:15 +0300
commit012318d7beafe23dc807f6b6caba1bf4183f1f5b (patch)
tree41425f4e86a5defd5332407b44461fb9a2a354a6
parent61a0949c07012e0d3c47b990a8736107295314f6 (diff)
downloadrepository-012318d7beafe23dc807f6b6caba1bf4183f1f5b.tar.gz
carbs-docs: fix shellcheck error
-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"