summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-05-27 18:48:32 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-05-27 18:48:32 -0500
commitbc70374c72ca0cc04e777ed15639fef0c8b9c847 (patch)
tree07ff5e5120c514249c4ccd32186cdad56ae015cf
parentcf6120adf4c455eb31d09955382fdd01bb16ef9d (diff)
Ensure that PARAMETERS.rm always exists.
-rw-r--r--pm/functions.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/functions.in b/pm/functions.in
index 073d79a..f2e8aa4 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -196,7 +196,7 @@ remove_parameters() {
if [ "$1" = "all" ]; then
echo '' > "$NEW_PARAMETERS"
else
- [ -f "$PARAMETERS.rm" ] && rm "$PARAMETERS.rm"
+ echo '' >"$PARAMETERS.rm"
for p in "$@"; do
echo "$p" >> "$PARAMETERS.rm"
done