From 012318d7beafe23dc807f6b6caba1bf4183f1f5b Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 27 Dec 2020 18:54:15 +0300 Subject: carbs-docs: fix shellcheck error --- core/carbs-docs/post-install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/carbs-docs') 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" -- cgit v1.2.3