Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
ubuntu-purge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
ubuntu-purge
Commits
9c84274c
Commit
9c84274c
authored
6 months ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Improve dist listing
parent
a721aa09
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
purge.sh
+6
-4
6 additions, 4 deletions
purge.sh
with
6 additions
and
4 deletions
purge.sh
+
6
−
4
View file @
9c84274c
...
...
@@ -33,10 +33,12 @@ else
fi
echo
Listing packages currently
in
local
$DIST
repository
reprepro
-A
source
list
$DIST
|
cut
-d
' '
-f2
>
list-
$DIST
reprepro
-A
source
list
$DIST
-updates
|
cut
-d
' '
-f2
>
list-
$DIST
-updates
reprepro
-A
source
list
$DIST
-security
|
cut
-d
' '
-f2
>
list-
$DIST
-security
reprepro
-A
source
list
$DIST
-backports
|
cut
-d
' '
-f2
>
list-
$DIST
-backports
for
VARIANT
in
''
'-updates'
'-security'
'-backports'
do
reprepro
-A
source
list
${
DIST
}${
VARIANT
}
|
cut
-d
' '
-f2
>
list-
${
DIST
}${
VARIANT
}
reprepro
--list-format
'${source}\n'
list
${
DIST
}${
VARIANT
}
|
sed
's/ .*//'
>>
list-
${
DIST
}${
VARIANT
}
sort
-u
list-
${
DIST
}${
VARIANT
}
-o
list-
${
DIST
}${
VARIANT
}
done
# blocklist packages
echo
Blocklisting packages defined
in
purge-
$DIST
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment