Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
xvortex committed Apr 3, 2021
1 parent 3c8480a commit 7efd9ca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ else
fi

# Delete directory if it exists and make empty directory
rm -rf ~/PS4SDK || true
mkdir -p ~/PS4SDK
rm -rf /opt/ps4sdk || true
mkdir -p /opt/ps4sdk

# Build SDK
pushd libPS4
make
popd

# Move compiled SDK
mv libPS4 ~/PS4SDK
# Copy compiled SDK
cp -r libPS4 /opt/ps4sdk

# Clear path from .bashrc if it's there
sed -i "s/^\s*export PS4SDK=.*//gm" ~/.bashrc

# Add to paths
echo "export PS4SDK=~/PS4SDK" | tee -a ~/.bashrc
export PS4SDK=~/PS4SDK
echo "export PS4SDK=/opt/ps4sdk" | tee -a ~/.bashrc
export PS4SDK=/opt/ps4sdk

0 comments on commit 7efd9ca

Please sign in to comment.