Skip to content

Commit

Permalink
Fix Fedora cleanup script not to cause unintended software removal.
Browse files Browse the repository at this point in the history
We install additional software during the build process, such as Perl modules. Removing Perl at cleanup causes an unintended removal of those packages, therefore I changed cleanup.sh to not remove "make" and "perl". This is in line with other cleanup scripts like that from centos.
  • Loading branch information
mgruner committed May 18, 2018
1 parent 04fcd11 commit eb23e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedora/scripts/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eux
echo "Removing development packages and cleaning up DNF data"
dnf -y remove gcc cpp gc kernel-devel kernel-headers glibc-devel elfutils-libelf-devel glibc-headers kernel-devel kernel-headers make perl
dnf -y remove gcc cpp gc kernel-devel kernel-headers glibc-devel elfutils-libelf-devel glibc-headers kernel-devel kernel-headers
dnf -y autoremove
dnf -y clean all --enablerepo=\*

Expand Down

0 comments on commit eb23e12

Please sign in to comment.