Last active
January 17, 2017 21:39
-
-
Save catichenor/78e43af9a72d8b87e49dcecac4bbd82d to your computer and use it in GitHub Desktop.
Write out pretty/long group names in a package group from yum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# I would hope there's a more elegant way of doing this directly in yum/DNF, but I couldn't find one. | |
yum group info "Development and Creative Workstation" | grep "\+" | sed 's/ +\+//g' | xargs yum group info | grep "Group:" | sed 's/.*Group: //g' > prettyGroupNames.txt | |
# Replace "Development and Creative Workstation" with your package group of choice. | |
# Untested in DNF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment