[Pkg-privacy-commits] [libgsecuredelete] 128/168: sfill wrapper: properly report missing `sfill` and `srm` programs
    Ulrike Uhlig 
    u-guest at moszumanska.debian.org
       
    Thu Jul  7 20:06:47 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository libgsecuredelete.
commit cd04a8e738e3f23f92302d0e191b9c225823e285
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Mon Jun 11 23:47:07 2012 +0200
    sfill wrapper: properly report missing `sfill` and `srm` programs
---
 gsd-sfill-helper.in | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/gsd-sfill-helper.in b/gsd-sfill-helper.in
index 0b0023a..4fe3c7e 100644
--- a/gsd-sfill-helper.in
+++ b/gsd-sfill-helper.in
@@ -40,6 +40,13 @@ die() {
 }
 
 
+# check we have the required tools
+which "$SRM" >/dev/null || \
+  die "$SRM: command not found. " \
+      "Please make sure secure-delete is correctly installed."
+which "$SFILL" >/dev/null || \
+  die "$SFILL: command not found. "\
+      "Please make sure secure-delete is correctly installed."
 
 
 # parse arguments
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git
    
    
More information about the Pkg-privacy-commits
mailing list