diff --git a/osx/deluge b/osx/deluge index 1f40289a9..d0041994c 100644 --- a/osx/deluge +++ b/osx/deluge @@ -24,7 +24,6 @@ export XDG_DATA_DIRS="$bundle_data" export GTK_DATA_PREFIX="$bundle_res" export GTK_EXE_PREFIX="$bundle_res" export GTK_PATH="$bundle_res" - export GTK2_RC_FILES="$bundle_etc/gtk-2.0/gtkrc" export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules" export GDK_PIXBUF_MODULE_FILE="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" diff --git a/osx/deluge-console b/osx/deluge-console old mode 100644 new mode 100755 index 2c3cc0721..cd413a90d --- a/osx/deluge-console +++ b/osx/deluge-console @@ -11,7 +11,7 @@ fi tmp=`dirname "$full_path"` tmp=`dirname "$tmp"` bundle=`dirname "$tmp"` -bundle_contents="$bundle"/Contents +bundle_contents=${bundle%"/Contents"}"/Contents" bundle_macos="$bundle_contents"/MacOS bundle_res="$bundle_contents"/Resources bundle_lib="$bundle_res"/lib diff --git a/osx/deluge-web b/osx/deluge-web old mode 100644 new mode 100755 index 9703c575c..7d2a44a21 --- a/osx/deluge-web +++ b/osx/deluge-web @@ -11,7 +11,7 @@ fi tmp=`dirname "$full_path"` tmp=`dirname "$tmp"` bundle=`dirname "$tmp"` -bundle_contents="$bundle"/Contents +bundle_contents=${bundle%"/Contents"}"/Contents" bundle_macos="$bundle_contents"/MacOS bundle_res="$bundle_contents"/Resources bundle_lib="$bundle_res"/lib diff --git a/osx/deluged b/osx/deluged old mode 100644 new mode 100755 index d88106a2d..6fc404ac9 --- a/osx/deluged +++ b/osx/deluged @@ -11,7 +11,7 @@ fi tmp=`dirname "$full_path"` tmp=`dirname "$tmp"` bundle=`dirname "$tmp"` -bundle_contents="$bundle"/Contents +bundle_contents=${bundle%"/Contents"}"/Contents" bundle_macos="$bundle_contents"/MacOS bundle_res="$bundle_contents"/Resources bundle_lib="$bundle_res"/lib