Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
4a8eaa9b
Commit
4a8eaa9b
authored
Oct 20, 2020
by
intrigeri
Browse files
Simplify: we're running under "set -e"
parent
e0fa6319
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/apt-snapshots-expiry
View file @
4a8eaa9b
...
...
@@ -6,7 +6,7 @@ for dir in config/APT_snapshots.d vagrant/definitions/tails-builder/config/APT_s
(
set
-eu
echo
"
${
dir
:?
}
:"
cd
"
${
dir
:?
}
"
&&
\
cd
"
${
dir
:?
}
"
for
ARCHIVE
in
*
;
do
SERIAL
=
"
$(
cat
${
ARCHIVE
:?
}
/serial
)
"
if
[
"
${
SERIAL
:?
}
"
=
'latest'
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment