[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] hobbit-client.postinst: fixed typo to allow correct values to be set in /etc/default/hobbit-client
- To: hobbit (at) hswn.dk
- Subject: [PATCH] hobbit-client.postinst: fixed typo to allow correct values to be set in /etc/default/hobbit-client
- From: Gildas Le Nadan <gn1 (at) sanger.ac.uk>
- Date: Tue, 03 Oct 2006 16:23:38 +0100
- User-agent: Thunderbird 1.5.0.7 (X11/20060922)
- Changing the ' in " in the sed command lines 39/40 allow the
parameters we've been asking for in hobbit-client.config to be inserted
in /etc/default/hobbit-client
Cheers,
Gildas
--- hobbit-4.2.0/debian/hobbit-client.postinst.orig 2006-10-03 16:16:06.477271259 +0100
+++ hobbit-4.2.0/debian/hobbit-client.postinst 2006-10-03 16:03:10.709115058 +0100
@@ -36,8 +36,8 @@
db_stop
# Update configuration file
- sed -e 's/^HOBBITSERVERS=.*/HOBBITSERVERS=\"${HOBBITSERVERS}\"/' \
- -e 's/^CLIENTHOSTNAME=.*/CLIENTHOSTNAME=\"${CLIENTHOSTNAME}\"/' \
+ sed -e "s/^HOBBITSERVERS=.*/HOBBITSERVERS=\"${HOBBITSERVERS}\"/" \
+ -e "s/^CLIENTHOSTNAME=.*/CLIENTHOSTNAME=\"${CLIENTHOSTNAME}\"/" \
< $CONFIGFILE > $CONFIGFILE.tmp
mv -f $CONFIGFILE.tmp $CONFIGFILE
;;