ultimatepp/uppdev/trayicon/traytest2
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

32 lines
562 B
Bash

#!/bin/sh
if [ ! -d "out/trayicon/GCC32-Gcc32-Gui-Linux-Main-Shared/" ]
then
#./configure --prefix=/usr
make
fi
if [ -d "out/trayicon/GCC32-Gcc32-Gui-Linux-Main-Shared/" ]
then
if [ ! -h "bin" ]
then
ln -s out/trayicon/GCC32-Gcc32-Gui-Linux-Main-Shared bin
fi
if [ -f "out/bin/trayicon" ]
then
cp bin/trayicon . -f
fi
if [ -f "bin/trayicon" ]
then
if [ ! -f "bin/some_image.png" ]
then
cp some_image.png bin/
fi
cd bin
./trayicon
fi
else
echo "Something went wrong ! Sorry ! \n Can't run traytest"
fi