blob: 4f7bd0920ad219ff290465ce2a9ffedd4a3ed0d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
if test x$DISPLAY = x; then
echo "The Nautilus-Installer requires X"
fi
if test $UID -ne 0; then
echo ""
echo "Nautilus-Installer v 0.2"
echo ""
echo "argle bargle glob glyf muhainapuniua bork bork bork"
echo "fisk er dumme og heste er grimme"
echo "To maend, gik ud i en skov, tog bukserne af, til de begge"
echo "blev flove. Gravballemanden blev min skaebne"
echo ""
echo "The Nautilus-Installer requires superuser access to prepare the system"
echo "It needs to create a few administrative directories on in /var and"
echo "yadayada insecure yadayada trust us blablabla"
echo "we would never hurt a fly arglebargle."
echo ""
echo "Please enter root password at the prompt"
xhost + localhost
su - -c "export DISPLAY=$DISPLAY && cd $PWD && echo Uncompressing... && sh $0 $* $USER"
xhost - localhost
cp -f /usr/share/gnome/apps/Applications/nautilus.desktop ~/.gnome-desktop/
chmod -f 644 ~/.gnome-desktop/nautilus.desktop
exit
fi
if ! test -d /var/eazel/services; then
mkdir /var/eazel
mkdir /var/eazel/services
fi
|