From 7e1305fc3a4db80ae4d6af09b49ca2557387c4da Mon Sep 17 00:00:00 2001 From: q3aql Date: Fri, 8 Jun 2018 16:32:02 +0200 Subject: [PATCH] Corregido fallo al crear los enlaces para las carpetas agregadas --- src/easy-samba-gtk | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/easy-samba-gtk b/src/easy-samba-gtk index f63e4a0..3f47d38 100644 --- a/src/easy-samba-gtk +++ b/src/easy-samba-gtk @@ -178,17 +178,17 @@ function addNewFolder() { if [ ${output} -ne 0 ] ; then zenity --title "easy-samba ${VERSION} (${M_DATE})" --error --text "Error: Fallo al agregar la carpeta '${folder}'" else - echo "[${endFolder}]" >> ${sambaConfig} - echo "# Folder to ${linuxSambaFolder}/${endFolder} # 00bc00" >> ${sambaConfig} - echo "path = ${linuxSambaFolder}/${endFolder}" >> ${sambaConfig} - echo "comment = Folder by easy-samba ${VERSION} (${M_DATE})" >> ${sambaConfig} - echo "browseable = yes" >> ${sambaConfig} - echo "writeable = yes" >> ${sambaConfig} - echo "read only = no" >> ${sambaConfig} - echo "guest ok = yes" >> ${sambaConfig} - echo "" >> ${sambaConfig} + echo "[${endFolder}]" >> ${sambaConfig} + echo "# Folder to ${linuxSambaFolder}/${endFolder} # 00bc00" >> ${sambaConfig} + echo "path = ${linuxSambaFolder}/${endFolder}" >> ${sambaConfig} + echo "comment = Folder by easy-samba ${VERSION} (${M_DATE})" >> ${sambaConfig} + echo "browseable = yes" >> ${sambaConfig} + echo "writeable = yes" >> ${sambaConfig} + echo "read only = no" >> ${sambaConfig} + echo "guest ok = yes" >> ${sambaConfig} + echo "" >> ${sambaConfig} zenity --title "easy-samba ${VERSION} (${M_DATE})" --info --text "Carpeta '${folder}' agregada con exito!" - createFolderLink ${folder} + createFolderLink ${endFolder} fi fi else