Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Ignore errors in dak rm
· f26e6da1
Joerg Jaspert
authored
Jun 23, 2018
f26e6da1
Fetch removal commands from release team
· ba432aa4
Joerg Jaspert
authored
Jun 23, 2018
ba432aa4
Show whitespace changes
Inline
Side-by-side
config/debian/pointrelease
View file @
ba432aa4
...
...
@@ -220,11 +220,19 @@ if [[ ${suitename} != jessie ]]; then
fi
log
"RM time"
# FIXME: Nicer ways please
dak
rm
-h
echo
"Check with RMs if there are any removals to do, if so, please just enter full dak rm line here."
if
${
wget
}
-O
"removallist"
"
${
release_base
}
/removals.
${
target_suite
}
"
;
then
echo
"Please check removallist file, I am going to run it as shell script when you confirm"
confirm
$EDITOR
removallist
bash removallist
fi
echo
"Any more removals to be done?"
echo
"If nothing - or done, just end with an empty line"
hadrms
=
0
# Blindly ignore errors in dak rm
set
+e
while
:
;
do
read
-e
-p
"RM command: "
-i
"dak rm -s
${
suite
}
-R -p -d ### -m '###' ###"
dakrmcmd
if
[[
-n
${
dakrmcmd
}
]]
;
then
...
...
@@ -235,6 +243,7 @@ while :; do
break
fi
done
set
-e
if
[[
${
hadrms
}
-ne
0
]]
;
then
echo
"You did some removals, please copy their entries into the changelog"
...
...