File: install.script

package info (click to toggle)
afterstep 2.2.12-18.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,184 kB
  • sloc: ansic: 201,695; sh: 5,894; xml: 3,721; makefile: 2,094; perl: 1,558; cpp: 811
file content (26 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (9)
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
#!/bin/sh
# Copyright (c) 1997-8 Guylhem AZNAR <guylhem@oeil.qc.ca>
# Copyright (c) 1999 David Mihm <dmihm@swbell.net>

echo
echo "You must have root password to install AfterStep on systemwide dirs."
echo "(press Ctrl-C to stop - 10 seconds to decide)"
sleep 10s
echo

./configure && make && su root -c "make install"

if [ -f ~/.xinitrc ] ; then
  mv ~/.xinitrc ~/xinitrc.before.AfterStep
fi

echo "exec afterstep" > ~/.xinitrc

echo
echo
echo "Now please run startx to use AfterStep !"
echo
echo Themes are handled from the menu.
echo A HOWTO can be found at as.themes.org.
echo