File fix-wrapper-openSUSE.patch of Package eternal-lands

diff -Nur Eternal-Lands-1.9.5.8/pkgfiles/eternallands new/pkgfiles/eternallands
--- Eternal-Lands-1.9.5.8/pkgfiles/eternallands	2020-04-29 21:47:42.000000000 +0200
+++ new/pkgfiles/eternallands	2021-04-12 04:18:05.243851699 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
 #
 # Wrapper script for Eternal Lands client.
 # - Checks the el packages are configured OK
@@ -174,16 +174,16 @@
 fi
 
 # check the minimum packages are installed OK
-if [ -x /usr/bin/dpkg ]
-then
-	installedOK=true
-	[ -z "$(dpkg --list eternallands | grep ^ii)" ] && installedOK=false
-	[ -z "$(dpkg --list eternallands-data | grep ^ii)" ] && installedOK=false
-	if ! $installedOK
-	then
-		show_error "Eternal Lands is not completely installed. As root or using sudo, please run \"dpkg --configure -a\" to complete the install."
-	fi
-fi
+#if [ -x /usr/bin/dpkg ]
+#then
+#	installedOK=true
+#	[ -z "$(dpkg --list eternallands | grep ^ii)" ] && installedOK=false
+#	[ -z "$(dpkg --list eternallands-data | grep ^ii)" ] && installedOK=false
+#	if ! $installedOK
+#	then
+#		show_error "Eternal Lands is not completely installed. As root or using sudo, please run \"dpkg --configure -a\" to complete the install."
+#	fi
+#fi
 
 # make sure the user config tree exists
 mkdir -p ~/.elc/
@@ -280,6 +280,7 @@
 # run the client, display error log if it crashes
 if ! $el_client $config $* &> ~/.elc/terminal_log.txt
 then
+	export PATH="$PATH:/sbin/"
 	fout=$(mktemp)
 	cat > $fout << EOT
 Oh my, Eternal Lands Crashed - Don't Panic!
openSUSE Build Service is sponsored by