[Wine-patches] ies4linux: Add attention message into ieuninstall (eterbug #1793)

Konstantin Kondratyuk =?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Пн Окт 13 16:41:08 MSD 2008


-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From 8599556969e81c7586ed45af6762de798beef21a Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Mon, 13 Oct 2008 16:36:07 +0400
Subject: [PATCH] ies4linux: Add attention message into ieuninstall (eterbug #1793)

---
 etersoft/ies4linux/ieuninstall |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/etersoft/ies4linux/ieuninstall b/etersoft/ies4linux/ieuninstall
index 82dfe84..c611b7c 100755
--- a/etersoft/ies4linux/ieuninstall
+++ b/etersoft/ies4linux/ieuninstall
@@ -108,6 +108,16 @@ if [ "$(whoami)" = "root" ] ; then echo "Error: you are root"; exit; fi
 if [ -z "$WINEPREFIX" ] ; then WINEPREFIX="$HOME/.wine" ; fi
 
 CROOT="$WINEPREFIX/dosdevices/c:"
+
+# Attention message
+echo "ATTENTION: wine --update will be started, you can lose some your options"
+echo -n "Wish to continue? (y/n) "
+read answer
+if [ ! $answer == "y" ] ; then
+    echo "Uninstall has been cancelled"
+    exit
+fi
+
 # Deleting
 echo "Deleting..."
 rm -f "$CROOT/Program Files/Internet Explorer/iexplore.exe"
-- 
1.5.6.5.GIT



Подробная информация о списке рассылки Wine-patches