Files
IPMIView.app/script.sh

10 lines
497 B
Bash
Raw Normal View History

2020-01-01 19:22:19 -06:00
#!/bin/sh
set -
mkdir -p Contents/Resources/IPMIView/Contents/Home/bin
tar -zxvf ~/Downloads/IPMIView*.tar.gz --strip=1 -C ./Contents/Resources/IPMIView/. ||
tar -xvf ~/Downloads/IPMIView*.tar --strip=1 -C ./Contents/Resources/IPMIView/. ||
{ echo "Something went wrong, check download of IPMIView archive" && exit 1; }
ln -s /usr/bin/java Contents/Resources/IPMIView/Contents/Home/bin/java
cd ..
rsync -arv --exclude=.git --exclude=Contents/Resources/IPMIView/jre IPMIView.app ~/Applications