All pastes #543107 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-06 00:30 UTC
rendered paste body
mv /tmp/diff1 /tmp/diff2
cat `ls /etc/apache2/vhosts.d/*.conf` > /tmp/diff1
if [ -z $(diff /tmp/diff1 /tmp/diff2) ] ; then
        echo "Do nothing!"
else
        echo "There was a change!"
fi