Created
February 6, 2020 15:06
-
-
Save jeansymolanza/9c112fe2e3431d8116bb2a0deb6889d0 to your computer and use it in GitHub Desktop.
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 | |
set -e | |
rpmbuild -ba ~/rpmbuild/SPECS/rocket-unidata-8.1.2.spec | |
if [ $(rpm -qa | grep -i rocket-unidata-8.1.2-1.x86_64) ]; then | |
sudo rpm -e rocket-unidata-8.1.2-1.x86_64 | |
fi | |
sudo rpm -ivh --nodeps ~/rpmbuild/RPMS/x86_64/rocket-unidata-8.1.2-1.x86_64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment