~ubuntu-branches/ubuntu/utopic/openvas-server/utopic

« back to all changes in this revision

Viewing changes to debian/patches/10_bashism.dpatch

  • Committer: Package Import Robot
  • Author(s): Javier Fernández-Sanguino Peña
  • Date: 2012-05-30 23:52:49 UTC
  • Revision ID: package-import@ubuntu.com-20120530235249-or96aszqy7jmyzrv
Tags: 2.0.3-6
* debian/openvas-server.config: Change the template names to openvas-server
  which prevents an installation error for users running on 'medium' or lower
  debconf priority (Closes: #674612)
* debian/openvas-server.postrm: Remove cache directory after purge 
  (Closes: #608734)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
 GETTEXT=`command -v gettext.sh`
14
14
-if (( $? ));
15
 
+if $(( $? ));
 
15
+if [ $? -ne 0 ];
16
16
 then
17
17
 
18
18
   # define dummy functions
24
24
 
25
25
 GETTEXT=`command -v gettext.sh`
26
26
-if (( $? ));
27
 
+if $(( $? ));
 
27
+if [ $? -ne 0 ];
28
28
 then
29
29
 
30
30
   # define dummy functions
36
36
 
37
37
 GETTEXT=`command -v gettext.sh`
38
38
-if (( $? ));
39
 
+if $(( $? ));
 
39
+if [ $? -ne 0 ];
40
40
 then
41
41
 
42
42
   # define dummy functions
48
48
 
49
49
 GETTEXT=`command -v gettext.sh`
50
50
-if (( $? ));
51
 
+if $(( $? ));
 
51
+if [ $? -ne 0 ];
52
52
 then
53
53
 
54
54
   # define dummy functions