diff options
-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. |