This file contains hidden or 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/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "Please run this script as root" | |
exit 1 | |
fi | |
dnf install -y gcc wget gtk3-devel GConf2-devel cppcheck libatasmart-devel libcurl-devel json-c-devel libmicrohttpd-devel help2man libnotify-devel libgtop2-devel make | |
wget -O /tmp/psensor-last-stable.tar.gz http://wpitchoune.net/psensor/files/psensor-last-stable.tar.gz | |
tar -xf /tmp/psensor-last-stable.tar.gz -C /tmp | |
rm -rf /tmp/psensor-last-stable.tar.gz |