From 6436d97316327925a3ad242acb37bae68660e714 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sat, 17 Jun 2017 06:29:20 +0000 Subject: [PATCH] Fix install-category error if there are no CGIs --- bin/install-category | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install-category b/bin/install-category index 153c222..060524e 100755 --- a/bin/install-category +++ b/bin/install-category @@ -18,7 +18,7 @@ unzip -o -d $outdir $package echo "Fixing permissions..." chmod a+rx $outdir/*/ $outdir/*/* chmod -R a+r $outdir -chmod a+rx $outdir/content/*/*.cgi +find $outdir/content -name \*.cgi -exec chmod a+rx {} \; if [ ! -h $outdir/../../www/$cat ]; then echo "Linking into web space..."