summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKris2017-07-23 01:14:45 -0400
committerKris2017-07-23 01:14:45 -0400
commite289e0302d2758df3ff70374a1918478be002422 (patch)
treea22f6823783c9fd45e88cf5df9d0d6a3f2d09dd5
parenta6fd64215a22d05b57c601aeba87a8649187d012 (diff)
downloadaur-e289e0302d2758df3ff70374a1918478be002422.tar.gz
Corrected syntax
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96f509d5ab0..acb8e7a3923 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 1da4993eb76..192ab085f72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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