diff options
author | P. J. McDermott <pjm@nac.net> | 2012-07-21 15:03:33 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-07-21 15:03:33 (EDT) |
commit | 595469a36b8408eb80c5eac2552257d02d622176 (patch) | |
tree | 0d7fde1d5b612431e2a1a024bd57ee66b6dbaf79 /src/deb.sh | |
parent | 559bdf2365add288a9f153e813000aab279d022c (diff) | |
download | deb-595469a36b8408eb80c5eac2552257d02d622176.zip deb-595469a36b8408eb80c5eac2552257d02d622176.tar.gz deb-595469a36b8408eb80c5eac2552257d02d622176.tar.bz2 |
Make get_dsc_url() check for dsc.list.
Diffstat (limited to 'src/deb.sh')
-rwxr-xr-x | src/deb.sh | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -97,6 +97,7 @@ config_save() get_dsc_url() { + [ ! -f "${DEB_DIR}/dsc.list" ] && error 'No source package list found' _pkg="${1}" _dscurl=$(grep "^${_pkg} " "${DEB_DIR}/dsc.list" | tail -n 1) || \ error 'Package "%s" not found' "${pkg}" @@ -253,8 +254,6 @@ EOF exit 1 fi - [ ! -f "${DEB_DIR}/dsc.list" ] && error 'No source package list found' - pkg="${1}" dscurl="$(get_dsc_url "${pkg}")" @@ -281,8 +280,6 @@ EOF exit 1 fi - [ ! -f "${DEB_DIR}/dsc.list" ] && error 'No source package list found' - pkg="${1}" dsc="$(get_dsc_name "${pkg}")" @@ -312,8 +309,6 @@ EOF exit 1 fi - [ ! -f "${DEB_DIR}/dsc.list" ] && error 'No source package list found' - pkg="${1}" # Find source package in internal list. |