diff options
author | Kris | 2017-07-23 01:14:45 -0400 |
---|---|---|
committer | Kris | 2017-07-23 01:14:45 -0400 |
commit | e289e0302d2758df3ff70374a1918478be002422 (patch) | |
tree | a22f6823783c9fd45e88cf5df9d0d6a3f2d09dd5 | |
parent | a6fd64215a22d05b57c601aeba87a8649187d012 (diff) | |
download | aur-e289e0302d2758df3ff70374a1918478be002422.tar.gz |
Corrected syntax
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = mcpelauncher-linux pkgdesc = Minecraft PE launcher for Linux - pkgver = 20170723.r94.fba491e + pkgver = 20170723.r98.8995f13 pkgrel = 1 url = https://kris27mc.github.io arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Kris McCleary <kris27mc@gmail.com> pkgname=mcpelauncher-linux -pkgver=20170723.r94.fba491e +pkgver=20170723.r98.8995f13 pkgrel=1 pkgdesc="Minecraft PE launcher for Linux" arch=('x86_64') @@ -74,7 +74,6 @@ fi #Hosted apk if [[ "$answer" == "2" ]]; then sudo wget https://kris27mc.github.io/files/mcpe.apk - # /usr/bin/cp mcpe.apk ~/mcpelauncher fi #Local file @@ -82,7 +81,7 @@ fi printf "Please enter the full path to your apk.\n" printf "Path to APK: " read -e pathtoapk - if grep mcpe.apk <<< echo "$pathtoapk"; then + if grep "mcpe.apk" <<< echo "$pathtoapk"; then sudo cp "$pathtoapk" /usr/share/mcpelauncher/mcpe-new.apk else sudo cp "$pathtoapk" /usr/share/mcpelauncher @@ -103,7 +102,9 @@ fi #Creates desktop launcher sudo cp mcpelauncher.desktop /usr/share/applications + if [[ ! -e "/usr/bin/mcpelauncher" ]]; then sudo ln -s /usr/share/mcpelauncher/mcpelauncher /usr/bin/mcpelauncher + fi #printf "\nWould you like to create a shortcut on your desktop? (y/n)\n" #read input |