Commit Graph

5 Commits

Author SHA1 Message Date
Jake Guffey 6afec72232 Implement Nico's suggestions
Modified behavior of cksum explorer to print nothing if the file doesn't exist
Modified gencode-local to reflect cksum's new behavior
Modified gencode-remote to check states explicitly and error on invalid state.
2012-09-21 10:06:16 -04:00
Jake Guffey d77c67b56f set -e doesn't like [ blah ] && blah syntax
changed to if [ blah ]; then blah; fi format
migrated echo usage to cat with HEREDOC to improve readability
2012-09-19 17:27:40 -04:00
Jake Guffey a1793f66ff Add logic to check for existence of files before interacting with them
if ${rcvar} or ${rcvar}.new don't exist, we can't rm/mv them.
2012-09-19 17:16:00 -04:00
Jake Guffey 34ca94ffa2 Fix typo
referenced ${rcvar.old} rather than ${rcvar}.old
2012-09-19 17:10:48 -04:00
Jake Guffey a2e96ac435 Initial commit
Broke old __pf type into __pf_*
Initial commit of __pf_ruleset type with basic logic
2012-09-19 14:50:28 -04:00