#!/bin/sh
. /etc/init.d/msm_profile
if [ "$DISPLAY" = "" ]; then
"$MSM_HOME/.__uninst.sh" |tee /tmp/vivaldi_uninstall.txt
#echo "Command Line"
elif [ -f /usr/bin/xterm ]; then
xterm -e "$MSM_HOME/.__uninst.sh" |tee /tmp/vivaldi_uninstall.txt
#echo "Display xterm"
elif [ -f /usr/bin/gnome-terminal ]; then
gnome-terminal -x "$MSM_HOME/.__uninst.sh" |tee /tmp/vivaldi_uninstall.txt
#echo "Display gnome"
fi