Fix install-category error if there are no CGIs

This commit is contained in:
Neale Pickett 2017-06-17 06:29:20 +00:00
parent 77a96f8001
commit 6436d97316
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ unzip -o -d $outdir $package
echo "Fixing permissions..." echo "Fixing permissions..."
chmod a+rx $outdir/*/ $outdir/*/* chmod a+rx $outdir/*/ $outdir/*/*
chmod -R a+r $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 if [ ! -h $outdir/../../www/$cat ]; then
echo "Linking into web space..." echo "Linking into web space..."