From 4a0950bbc9f7326a537a5f1fd5578cba2168da78 Mon Sep 17 00:00:00 2001 From: Itiligent <94789708+itiligent@users.noreply.github.com> Date: Tue, 12 Mar 2024 23:28:37 +1100 Subject: [PATCH] fix incorrect custom rdp drive name #34 --- 2-install-guacamole.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-install-guacamole.sh b/2-install-guacamole.sh index 37d7cd3..97da6a5 100644 --- a/2-install-guacamole.sh +++ b/2-install-guacamole.sh @@ -258,7 +258,7 @@ echo -e "Source download complete.${GREY}" # Add customised RDP share names and printer labels, remove Guacamole default labelling sed -i -e 's/IDX_CLIENT_NAME, "Guacamole RDP"/IDX_CLIENT_NAME, "'"${RDP_SHARE_HOST}"'"/' ${DOWNLOAD_DIR}/guacamole-server-${GUAC_VERSION}/src/protocols/rdp/settings.c -sed -i -e 's/IDX_DRIVE_NAME, "Guacamole Filesystem"/IDX_CLIENT_NAME, "'"${RDP_SHARE_LABEL}"'"/' ${DOWNLOAD_DIR}/guacamole-server-${GUAC_VERSION}/src/protocols/rdp/settings.c +sed -i -e 's/IDX_DRIVE_NAME, "Guacamole Filesystem"/IDX_DRIVE_NAME, "'"${RDP_SHARE_LABEL}"'"/' ${DOWNLOAD_DIR}/guacamole-server-${GUAC_VERSION}/src/protocols/rdp/settings.c sed -i -e 's/IDX_PRINTER_NAME, "Guacamole Printer"/IDX_PRINTER_NAME, "'"${RDP_PRINTER_LABEL}"'"/' ${DOWNLOAD_DIR}/guacamole-server-${GUAC_VERSION}/src/protocols/rdp/settings.c # Make Guacamole directories