1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 01_update-config bashisms.dpatch by <benoit.mortier@opensides.be>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: fix update-config bashims
7 @DPATCH@
9 --- gosa-2.5.19/update-config 2008-01-08 20:01:49.000000000 +0100
10 +++ gosa-2.5.19/update-config 2009-10-22 21:32:43.000000000 +0200
11 @@ -8,8 +8,8 @@
12 created.
14 EOF
15 -read -n1 -sp "Do you want to continue? (y/n)" answer
16 -echo
17 +printf "Do you want to continue? (y/n) " "$answer"
18 +read answer
20 if [ "$answer" != "y" -a "$answer" != "Y" ]; then
21 echo "Aborted."