From 566a93b87cbc2f06f6c2affe628503a3b24cd29b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 03 Jun 2014 00:52:56 -0400 Subject: s/-e/-f/ in maintainer scripts. --- (limited to 'busybox.pkg/postinst') diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst index f5a66aa..6de6916 100755 --- a/busybox.pkg/postinst +++ b/busybox.pkg/postinst @@ -5,14 +5,14 @@ if [ "x${1}" = 'xconfigure' ]; then update-alternatives --install "${link}" "${name}" \ "${link}.busybox" "${prio}" done /etc/rc.policy else printf 'enabled' >/etc/rc.policy fi fi - if [ -e /usr/share/busybox/init-scripts ]; then + if [ -f /usr/share/busybox/init-scripts ]; then while read script; do if [ "x${2:+set}" != 'xset' ]; then "/etc/init.d/${script}" enable -- cgit v0.9.1