oneshot_linux/install

31 lines
847 B
Text
Raw Normal View History

2023-01-03 21:04:52 +01:00
#!/bin/bash
echo "Installing fix_libs.sh"
if [ -f $HOME/.local/share/Steam/steamapps/common/OneShot/fix_libs.sh ]; then
echo "Already installed"
else
cp fix_libs.sh $HOME/.local/share/Steam/steamapps/common/OneShot/
2023-01-03 21:33:43 +01:00
chmod +x $HOME/.local/share/Steam/steamapps/common/OneShot/fix_libs.sh
2023-01-03 21:04:52 +01:00
fi
echo "Installing journal.sh"
if [ -f $HOME/.local/share/Steam/steamapps/common/OneShot/journal.sh ]; then
echo "Already installed"
else
cp journal.sh $HOME/.local/share/Steam/steamapps/common/OneShot/
2023-01-03 21:33:43 +01:00
chmod +x $HOME/.local/share/Steam/steamapps/common/OneShot/journal.sh
2023-01-03 21:04:52 +01:00
fi
echo "Installing onejournal"
chmod +x onejournal
if [ -f /usr/bin/onejournal ]; then
echo "Already installed"
else
sudo cp onejournal /usr/bin/
2023-01-03 21:33:43 +01:00
sudo chmod +x /usr/bin/onejournal
2023-01-03 21:04:52 +01:00
fi
echo "Fixing libraries"
2023-01-03 21:47:46 +01:00
cd ~/.local/share/Steam/steamapps/common/OneShot/
sh fix_libs.sh