X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cron.d%2F050checkinst;h=fb2356fb690e3a8a6669424079263ebe06ff1dfc;hp=dd5bf295a401cf62a31d9e72c0834668e254ca69;hb=a9572ccb0c5930c582e93d901cc4e6d76cee0d45;hpb=cc6c820a1e503808b7ac1e2bff132de23f87606b diff --git a/cron.d/050checkinst b/cron.d/050checkinst index dd5bf29..fb2356f 100755 --- a/cron.d/050checkinst +++ b/cron.d/050checkinst @@ -7,7 +7,7 @@ packages=`tempfile` cache=`tempfile` -trap "rm -f $packages $locs" INT EXIT +trap "rm -f $packages $cache" INT EXIT cd $topdir dpkg-checkbuilddeps >> $packages 2>&1 @@ -18,7 +18,7 @@ then then echo "cachedir missing." >> $cache else - perm=$(ls -ld "$cachedir" | perl -ne 'print "ok" if /^drwxrws--- \d+ www-data/') + perm=$(ls -ld "$cachedir" | perl -ne 'print "ok" if /^drwx...... \d+ www-data/ || /^d...rws... \d+ [\w-]+\/www-data/') if [ -z "$perm" ] then echo "cachedir has wrong permissions." >> $cache @@ -41,12 +41,6 @@ then echo cat $packages fi - if [ -s $locs ] - then - echo "Missing locales:" - echo - cat $locs - fi if [ -s $cache ] then echo "Problems with cachedir:"