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 56c737311b
commit ff5a4bd13d
1 changed files with 1 additions and 1 deletions

View File

@ -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..."