summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-16 13:14:57 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 13:58:36 -0600
commit7dad90c6012ed860ce3f04637c4ec3a00c7f2c00 (patch)
treeefef55e1ff3917eba8e4220788bc9b9f913ab48d
parentcd6f4ec95dcee0d9411085c8b83ec0eda44d5977 (diff)
downloadslackbuilds-7dad90c6012ed860ce3f04637c4ec3a00c7f2c00.tar.gz
system/crashplan: Make the init script executable by default.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/crashplan/crashplan.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/crashplan/crashplan.SlackBuild b/system/crashplan/crashplan.SlackBuild
index 2ab8718539..914e079739 100644
--- a/system/crashplan/crashplan.SlackBuild
+++ b/system/crashplan/crashplan.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=crashplan
VERSION=${VERSION:-3.5.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=CrashPlan
@@ -87,6 +87,7 @@ INITSCRIPT=$TARGETDIR/bin/CrashPlanEngine
SEDEXPRSUB=`echo $INITSCRIPT | sed 's/\//\\\\\//g'`
SEDEXPR="s/<INITSCRIPT>/$SEDEXPRSUB/g"
sed $SEDEXPR scripts/crashplan > $PKG/etc/rc.d/rc.crashplan.new
+chmod 0755 $PKG/etc/rc.d/rc.crashplan.new
# Desktop icon
cp -a scripts/CrashPlan.desktop $PKG/usr/share/applications/