Package: tftpd-hpa
Version: 5.0-2
Severity: important
Tags: patch

---<snip>---
Setting up tftpd-hpa (5.0-2) ...
tftpd user (tftp) is already existing, doing nothing.

tftpd-hpa directory (/srv/tftp) is already existing, doing nothing.
/etc/default/tftpd-hpa: line 7: USERNAMEtftp: command not found
---<snip>---

$ cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa

## The configuration of this file is managed by debconf.
## Do not edit this file manually, use:
## dpkg-reconfigure tftpd-hpa

USERNAME"tftp"
DIRECTORY="/srv/tftp"


There is an equal sign missing.

Attachment: pgpqDFs2o1mqW.pgp
Description: PGP signature

--- tftp-hpa-5.0/debian/tftpd-hpa.postinst.orig	2009-07-21 17:59:05.000000000 +0200
+++ tftp-hpa-5.0/debian/tftpd-hpa.postinst	2009-07-21 18:00:46.000000000 +0200
@@ -47,7 +47,7 @@
 EOF
 
 		else
-			sed -i -e "s|^USERNAME=.*$|USERNAME\"${_USERNAME}\"|" -e "s|^DIRECTORY=.*$|DIRECTORY=\"${_DIRECTORY}\"|" /etc/default/tftpd-hpa
+			sed -i -e "s|^USERNAME=.*$|USERNAME=\"${_USERNAME}\"|" -e "s|^DIRECTORY=.*$|DIRECTORY=\"${_DIRECTORY}\"|" /etc/default/tftpd-hpa
 		fi
 		;;
 
-- 
CYa,
  ⡍⠁⠗⠊⠕

Reply via email to