~ubuntu-branches/ubuntu/jaunty/samba/jaunty-proposed

« back to all changes in this revision

Viewing changes to debian/samba-common.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short, Thierry Carrez, Chuck Short
  • Date: 2009-03-27 10:46:15 UTC
  • Revision ID: james.westby@ubuntu.com-20090327104615-fh7p8ajihewhjgfq
Tags: 2:3.3.2-1ubuntu3
[Thierry Carrez] 
* debian/samba-common.postinst: Add more informative error message for
  the case where smb.conf was manually deleted (LP: #312449)

[Chuck Short]
* debian/control: Add suggests keyutils for smbfs. (LP: #300221)

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
fi
139
139
 
140
140
ucf --three-way --debconf-ok "$NEWFILE" "$CONFIG"
141
 
ucfr samba-common "$CONFIG"
142
141
 
143
 
chmod a+r "$CONFIG"
 
142
if [ ! -e "$CONFIG" ]; then
 
143
        echo "Install/upgrade will fail. To recover, please try:"
 
144
        echo "  sudo cp /usr/share/samba/smb.conf $CONFIG"
 
145
        echo "  sudo dpkg --configure -a"
 
146
        exit 1
 
147
else
 
148
        ucfr samba-common "$CONFIG"
 
149
        chmod a+r "$CONFIG"
 
150
fi
144
151
 
145
152
# ------------------------- Debconf questions end ---------------------
146
153