Last active
August 29, 2015 14:14
-
-
Save joemiller/2de728fd8defa4565c34 to your computer and use it in GitHub Desktop.
quick script to # install `needrestart` on fedora (cent/rhel/etc)
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 | |
# install `needrestart` on fedora (cent/rhel/etc) | |
# tested on fedora-19 and 20 | |
set -e | |
yum -y -d1 install perl-Module-ScanDeps perl-Proc-ProcessTable perl-Sort-Naturally perl-Term-ProgressBar-Simple perl-Module-Find.noarch perl-ExtUtils-MakeMaker.noarch | |
git clone -b 'v2.0' https://github.com/liske/needrestart.git | |
cd needrestart | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rpm spec - https://github.com/pantheon-systems/needrestart-rpm