From 7459eb627c97d27ef6e12cdededa48e1ff03d533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 2 Oct 2015 23:06:22 +0200 Subject: [PATCH] GH-1266 fix ubuntu run script --- .../package/ubuntu/{multimc_1.1-1 => multimc}/DEBIAN/control | 2 +- .../package/ubuntu/{multimc_1.1-1 => multimc}/DEBIAN/postrm | 0 .../ubuntu/{multimc_1.1-1 => multimc}/opt/multimc/icon.svg | 0 .../ubuntu/{multimc_1.1-1 => multimc}/opt/multimc/run.sh | 3 ++- .../usr/share/applications/multimc.desktop | 0 5 files changed, 3 insertions(+), 2 deletions(-) rename application/package/ubuntu/{multimc_1.1-1 => multimc}/DEBIAN/control (94%) rename application/package/ubuntu/{multimc_1.1-1 => multimc}/DEBIAN/postrm (100%) rename application/package/ubuntu/{multimc_1.1-1 => multimc}/opt/multimc/icon.svg (100%) rename application/package/ubuntu/{multimc_1.1-1 => multimc}/opt/multimc/run.sh (92%) rename application/package/ubuntu/{multimc_1.1-1 => multimc}/usr/share/applications/multimc.desktop (100%) diff --git a/application/package/ubuntu/multimc_1.1-1/DEBIAN/control b/application/package/ubuntu/multimc/DEBIAN/control similarity index 94% rename from application/package/ubuntu/multimc_1.1-1/DEBIAN/control rename to 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 Section: games diff --git a/application/package/ubuntu/multimc_1.1-1/DEBIAN/postrm b/application/package/ubuntu/multimc/DEBIAN/postrm similarity index 100% rename from application/package/ubuntu/multimc_1.1-1/DEBIAN/postrm rename to 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 similarity index 100% rename from application/package/ubuntu/multimc_1.1-1/opt/multimc/icon.svg rename to 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 similarity index 92% rename from application/package/ubuntu/multimc_1.1-1/opt/multimc/run.sh rename to 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 similarity index 100% rename from application/package/ubuntu/multimc_1.1-1/usr/share/applications/multimc.desktop rename to application/package/ubuntu/multimc/usr/share/applications/multimc.desktop