summaryrefslogtreecommitdiffstats
path: root/application/package
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-02 23:06:22 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-02 23:06:22 +0200
commit7459eb627c97d27ef6e12cdededa48e1ff03d533 (patch)
treeb2cf2bad4e4fbaebffa5a4c13a478c1dfe30663f /application/package
parentae4216de6101db63a1ec7d817852cad2d10863f5 (diff)
downloadMultiMC-7459eb627c97d27ef6e12cdededa48e1ff03d533.tar
MultiMC-7459eb627c97d27ef6e12cdededa48e1ff03d533.tar.gz
MultiMC-7459eb627c97d27ef6e12cdededa48e1ff03d533.tar.lz
MultiMC-7459eb627c97d27ef6e12cdededa48e1ff03d533.tar.xz
MultiMC-7459eb627c97d27ef6e12cdededa48e1ff03d533.zip
GH-1266 fix ubuntu run script
Diffstat (limited to 'application/package')
-rw-r--r--application/package/ubuntu/multimc/DEBIAN/control (renamed from application/package/ubuntu/multimc_1.1-1/DEBIAN/control)2
-rwxr-xr-xapplication/package/ubuntu/multimc/DEBIAN/postrm (renamed from application/package/ubuntu/multimc_1.1-1/DEBIAN/postrm)0
-rw-r--r--application/package/ubuntu/multimc/opt/multimc/icon.svg (renamed from application/package/ubuntu/multimc_1.1-1/opt/multimc/icon.svg)0
-rwxr-xr-xapplication/package/ubuntu/multimc/opt/multimc/run.sh (renamed from application/package/ubuntu/multimc_1.1-1/opt/multimc/run.sh)3
-rwxr-xr-xapplication/package/ubuntu/multimc/usr/share/applications/multimc.desktop (renamed from application/package/ubuntu/multimc_1.1-1/usr/share/applications/multimc.desktop)0
5 files changed, 3 insertions, 2 deletions
diff --git a/application/package/ubuntu/multimc_1.1-1/DEBIAN/control b/application/package/ubuntu/multimc/DEBIAN/control
index 3ab70f2f..a0300e99 100644
--- a/application/package/ubuntu/multimc_1.1-1/DEBIAN/control
+++ b/application/package/ubuntu/multimc/DEBIAN/control
@@ -1,5 +1,5 @@
Package: multimc
-Version: 1.1-1
+Version: 1.1-2
Architecture: all
Maintainer: Petr Mrázek <peterix@gmail.com>
Section: games
diff --git a/application/package/ubuntu/multimc_1.1-1/DEBIAN/postrm b/application/package/ubuntu/multimc/DEBIAN/postrm
index f9bbc8a7..f9bbc8a7 100755
--- a/application/package/ubuntu/multimc_1.1-1/DEBIAN/postrm
+++ b/application/package/ubuntu/multimc/DEBIAN/postrm
diff --git a/application/package/ubuntu/multimc_1.1-1/opt/multimc/icon.svg b/application/package/ubuntu/multimc/opt/multimc/icon.svg
index 178509ac..178509ac 100644
--- a/application/package/ubuntu/multimc_1.1-1/opt/multimc/icon.svg
+++ b/application/package/ubuntu/multimc/opt/multimc/icon.svg
diff --git a/application/package/ubuntu/multimc_1.1-1/opt/multimc/run.sh b/application/package/ubuntu/multimc/opt/multimc/run.sh
index 9b934302..f4f2fa42 100755
--- a/application/package/ubuntu/multimc_1.1-1/opt/multimc/run.sh
+++ b/application/package/ubuntu/multimc/opt/multimc/run.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-INSTDIR=$XDG_DATA_HOME/multimc
+INSTDIR="${XDG_DATA_HOME-$HOME/.local/share}/multimc"
+
if [ `getconf LONG_BIT` = "64" ]
then
PACKAGE="mmc-stable-lin64.tar.gz"
diff --git a/application/package/ubuntu/multimc_1.1-1/usr/share/applications/multimc.desktop b/application/package/ubuntu/multimc/usr/share/applications/multimc.desktop
index 6002e686..6002e686 100755
--- a/application/package/ubuntu/multimc_1.1-1/usr/share/applications/multimc.desktop
+++ b/application/package/ubuntu/multimc/usr/share/applications/multimc.desktop