Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for pacman #4

Merged
merged 3 commits into from
Aug 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion kill-ryzen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ NPROC=$1
[ -n "$NPROC" ] || NPROC=$(nproc)

echo "Install required packages"
sudo apt install build-essential || exit 1
if PKGMGR1="$( which apt-get 2>/dev/null )"; then sudo "$PKGMGR1" build-essential; fi
if PKGMGR2="$( which pacman 2>/dev/null )"; then sudo "$PKGMGR2" base-devel; fi
if [ -z "$PKGMGR1$PKGMGR2" ]; then exit 1; fi

if $USE_RAMDISK; then
echo "Create compressed ramdisk (you need >16G(!) RAM)"
Expand Down