]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/common
Move 3 update- scripts into dinstall.functions/tasks proper
[dak.git] / config / debian / common
index b8a6e6cca5fc2c3c80544499baf210a59e51b9fc..bc3248c7470dd6cad1b5f8f44398d5bfcffccc6d 100644 (file)
@@ -288,7 +288,7 @@ function stage() {
     ARGS=${ARGS:-""}
 
     log "########## ${PROGRAM} BEGIN: ${FUNC} ${ARGS} ##########"
-    local STAGEFILE="${stagedir}/${FUNC}_${ARGS}"
+    local STAGEFILE="${stagedir}/${FUNC}${ARGS:+_}${ARGS}"
     STAGEFILE=${STAGEFILE// /_}
     if [ -f "${STAGEFILE}" ]; then
         local stamptime=$(/usr/bin/stat -c %Z "${STAGEFILE}")