Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Roland Clobus
jenkins.debian.net
Commits
208a18e6
Verified
Commit
208a18e6
authored
Sep 04, 2022
by
Roland Clobus
Browse files
reproducible Debian live: No sudo required to delete old live-build result directories
parent
17a56ab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_maintenance.sh
View file @
208a18e6
...
@@ -127,7 +127,7 @@ if [ ! -z "$OLDSTUFF" ] ; then
...
@@ -127,7 +127,7 @@ if [ ! -z "$OLDSTUFF" ] ; then
echo
echo
echo
"Old temp directories for live-build found in
$REP_RESULTS
"
echo
"Old temp directories for live-build found in
$REP_RESULTS
"
echo
-n
"
$OLDSTUFF
"
echo
-n
"
$OLDSTUFF
"
find
$REP_RESULTS
-maxdepth
1
-type
d
-mtime
+0
-name
"live-build-*"
-exec
sudo
rm
-rf
--one-file-system
{}
\;
||
true
find
$REP_RESULTS
-maxdepth
1
-type
d
-mtime
+0
-name
"live-build-*"
-exec
rm
-rf
--one-file-system
{}
\;
||
true
echo
"These old temp directories for live-build have been deleted."
echo
"These old temp directories for live-build have been deleted."
echo
echo
DIRTY
=
true
DIRTY
=
true
...
...
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