Skip to content

Commit

Permalink
do not quote ${ELEVATE} here (wimpysworld#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
peutch committed Jan 13, 2023
1 parent e501d44 commit 01afbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deb-get
Expand Up @@ -182,7 +182,7 @@ function get_website() {
if [ "${ACTION}" == "install" ] || [ "${ACTION}" == "update" ] || [ "${ACTION}" == "fix-installed" ]; then
if [ ! -e "${CACHE_FILE}" ] || test "$(find "${CACHE_FILE}" -mmin +60)"; then
fancy_message info "Updating ${CACHE_FILE}"
if ! "${ELEVATE}" wget -q --no-use-server-timestamps "${1}" -O "${CACHE_FILE}"; then
if ! ${ELEVATE} wget -q --no-use-server-timestamps "${1}" -O "${CACHE_FILE}"; then
fancy_message warn "Updating ${CACHE_FILE} failed. Deleting it."
${ELEVATE} rm -f "${CACHE_FILE}"
fi
Expand Down

0 comments on commit 01afbd4

Please sign in to comment.