si aucun choix de chemin dans le menu de démontage, retour au menu
This commit is contained in:
parent
bc05a6cb0a
commit
2dd733908a
@ -146,9 +146,11 @@ elif [ "$choixmenu" = "dm" ];then
|
||||
# Demonter une archive
|
||||
|
||||
ptnmontage=$(mount | grep borgfs | cut -d" " -f3 | zenity --width=500 --height=$H --window-icon=$HOME/.icons/borg.svg --list --title "Liste des points de montages" --column "Archive")
|
||||
fusermount -u $ptnmontage | zenity --width=$W --progress --pulsate --auto-close
|
||||
sleep 5 | zenity --width=$W --progress --pulsate --auto-close
|
||||
rmdir $ptnmontage | zenity --width=$W --progress --pulsate --auto-close
|
||||
if [ "$ptnmontage" != "" ];then
|
||||
fusermount -u $ptnmontage | zenity --width=$W --progress --pulsate --auto-close
|
||||
sleep 2 | zenity --width=$W --progress --pulsate --auto-close
|
||||
rmdir $ptnmontage | zenity --width=$W --progress --pulsate --auto-close
|
||||
fi
|
||||
|
||||
elif [ "$choixmenu" = "ss" ];then
|
||||
# Supprimmer une archive
|
||||
|
Loading…
Reference in New Issue
Block a user