~ubuntu-branches/ubuntu/trusty/expect/trusty

« back to all changes in this revision

Viewing changes to debian/patches/cryptdir-example

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2006-10-01 22:23:00 UTC
  • mfrom: (2.1.7 edgy)
  • Revision ID: james.westby@ubuntu.com-20061001222300-08nd1wqc92mxggdq
Tags: 5.43.0-8
* Added patch from Niko Tyni <ntyni@iki.fi> to fix static library name on
  alpha, mips and mipsel (Closes: #390366).
* Added *.so symlink (Closes: #390365).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: example/cryptdir
2
 
===================================================================
3
 
RCS file: /usr/local/cvs/debian/expect/example/cryptdir,v
4
 
retrieving revision 1.4
5
 
diff -u -r1.4 cryptdir
6
 
--- example/cryptdir    17 Aug 2004 07:09:41 -0000      1.4
7
 
+++ example/cryptdir    17 Aug 2004 08:27:51 -0000
8
 
@@ -8,6 +8,11 @@
9
 
 #
10
 
 # Encrypt or decrypts the current directory or named directory if given.
11
 
 
12
 
+if {![file exists /usr/bin/crypt]} {
13
 
+    puts "This example requires the mcrypt package."
14
 
+    exit
15
 
+}
16
 
+
17
 
 if {[llength $argv] > 0} {
18
 
     cd $argv
19
 
 }
20
 
Index: example/decryptdir
21
 
===================================================================
22
 
RCS file: /usr/local/cvs/debian/expect/example/decryptdir,v
23
 
retrieving revision 1.4
24
 
diff -u -r1.4 decryptdir
25
 
--- example/decryptdir  17 Aug 2004 07:09:41 -0000      1.4
26
 
+++ example/decryptdir  17 Aug 2004 08:27:51 -0000
27
 
@@ -8,6 +8,11 @@
28
 
 #
29
 
 # Encrypt or decrypts the current directory or named directory if given.
30
 
 
31
 
+if {![file exists /usr/bin/crypt]} {
32
 
+    puts "This example requires the mcrypt package."
33
 
+    exit
34
 
+}
35
 
+
36
 
 if {[llength $argv] > 0} {
37
 
     cd $argv
38
 
 }