Bug#700186: di-netboot-assistant: Hardcoded path /var/lib/di-netboot-assistant/ used by uninstall
Package: di-netboot-assistant
Version: 0.37
Severity: normal
Dear Maintainer,
If a per-user configuration is being used, which redefines STATUS_LIB, then issuing the command 'di_netboot_assistant uninstall' does not list the installed netboot images.
The hardcoded path /var/lib/di-netboot-assistant/ should probably be replaced as follows:
1144c1144
< installed_repos="$( cd /var/lib/di-netboot-assistant/ ; ls | sed -e 's/--.*//' | sort -u | tr "\n" " " )"
---
> installed_repos="$( cd "$STATUS_LIB" && ls | sed -e 's/--.*//' | sort -u | tr "\n" " " )"
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages di-netboot-assistant depends on:
ii wget 1.13.4-3
Versions of packages di-netboot-assistant recommends:
ii dnsmasq 2.62-3
Versions of packages di-netboot-assistant suggests:
ii dnsmasq 2.62-3
pn elilo <none>
pn syslinux <none>
-- no debconf information
Reply to: