mirror of https://github.com/dirtbags/moth.git
Fix install-category error if there are no CGIs
This commit is contained in:
parent
56c737311b
commit
ff5a4bd13d
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue