From: Edgar P. <ed...@pe...> - 2014-07-19 02:17:58
|
Hello list, I'm trying to get update_sqlgrey_config to work on FreeBSD 10. Following is a diff of changes I've made compared to the stock version. It still doesn't appear to be working correctly. I'm going to add some echo's and see if I can't pinpoint the issue, but hopefully someone out there has the answer already. Thanks 1c1 < #!/usr/local/bin/bash --- > #!/bin/bash 4c4 < MD5SUM=`which md5 2>/dev/null` --- > MD5SUM=`which md5sum 2>/dev/null` 7c7 < echo "md5 not found in PATH, can't continue" --- > echo "md5sum not found in PATH, can't continue" 27c27 < MYDIR=/usr/local/etc/sqlgrey --- > MYDIR=/etc/sqlgrey 51c51 < cd /usr/local/etc/sqlgrey --- > cd ~sqlgrey 56c56 < --- > 62c62 < TOUPDATE=`md5 -c $MYTMP/MD5SUMS 2>/dev/null | grep FAILED | cut -d: -f1` --- > TOUPDATE=`md5sum -c $MYTMP/MD5SUMS 2>/dev/null | grep FAILED | cut -d: -f1` 88c88 < md5 -c MD5SUMS >/dev/null 2>/dev/null --- > md5sum -c MD5SUMS >/dev/null 2>/dev/null |