Merge "CentOS: Get list of dnf modules"
This commit is contained in:
commit
ab27a3f369
@ -211,6 +211,9 @@ if [ `command -v rpm` ]; then
|
|||||||
rpm -qa |sort > $LOG_DIR/rpm-qa.txt
|
rpm -qa |sort > $LOG_DIR/rpm-qa.txt
|
||||||
sudo $YUM repolist -v > $LOG_DIR/repolist.txt
|
sudo $YUM repolist -v > $LOG_DIR/repolist.txt
|
||||||
fi
|
fi
|
||||||
|
if [ `command -v dnf` ]; then
|
||||||
|
sudo dnf module list > $LOG_DIR/modulelist.txt
|
||||||
|
fi
|
||||||
|
|
||||||
if [ `command -v gem` ]; then
|
if [ `command -v gem` ]; then
|
||||||
gem list |sort > $LOG_DIR/gem-list.txt
|
gem list |sort > $LOG_DIR/gem-list.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user