Skip to content

Instantly share code, notes, and snippets.

@simonexmachina
Created June 4, 2012 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save simonexmachina/2867871 to your computer and use it in GitHub Desktop.
Save simonexmachina/2867871 to your computer and use it in GitHub Desktop.
Test that rsync and php4-domxml are working on old Debian
#!/bin/bash
# Test that domxml is installed
php -r "domxml_version();" > /dev/null 2>&1
[ $? -eq 0 ] || echo -e "\a#### Error: php4-domxml not loaded ####"
# Test that rsync is installed
rsync -h > /dev/null 2>&1
[ $? -eq 0 ] || echo -e "\a#### Error: rsync not installed ####"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment