--- xdg-utils-1.1.3/scripts/xdg-copy.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-copy.in	2021-12-26 17:19:46.494868179 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-copy
 #
@@ -16,6 +16,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-desktop-icon.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-desktop-icon.in	2021-12-26 17:19:39.119770390 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-desktop-icon
 #
@@ -15,6 +15,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 usage()
 {
 cat << _USAGE
--- xdg-utils-1.1.3/scripts/xdg-desktop-menu.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-desktop-menu.in	2021-12-26 17:19:33.864584319 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-desktop-menu
 #
@@ -14,6 +14,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-email.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-email.in	2021-12-26 17:20:00.495865079 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-email
 #
@@ -16,6 +16,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-file-dialog.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-file-dialog.in	2021-12-26 17:20:11.094810194 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-file-dialog
 #
@@ -15,6 +15,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-icon-resource.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-icon-resource.in	2021-12-26 17:20:25.703881590 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-icon-resource
 #
@@ -15,6 +15,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-mime.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-mime.in	2021-12-26 17:20:36.711369430 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-mime
 #
@@ -16,6 +16,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-open.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-open.in	2021-12-26 17:20:48.936265181 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-open
 #
@@ -15,6 +15,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-screensaver.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-screensaver.in	2021-12-26 17:21:00.423580344 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-screensaver
 #
@@ -12,6 +12,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-settings.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-settings.in	2021-12-26 17:21:13.159716780 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-settings
 #
@@ -12,6 +12,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
--- xdg-utils-1.1.3/scripts/xdg-terminal.in.orig	2018-05-10 17:02:31.000000000 +0000
+++ xdg-utils-1.1.3/scripts/xdg-terminal.in	2021-12-26 17:21:37.975939607 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
 #---------------------------------------------
 #   xdg-terminal
 #
@@ -14,6 +14,9 @@
 #
 #---------------------------------------------
 
+PATH=/usr/bin:/usr/X11/bin:${PATH}
+export PATH
+
 manualpage()
 {
 cat << _MANUALPAGE
