blob: 262b4ddf14de7ab3ec881b0058108810ff5a2bf6 (
plain) (
blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
#!/bin/bash
# Absolute path to this script, e.g. /home/user/bin/foo.sh
SCRIPT=$(readlink -f "$0")
# Absolute path this script is in, thus /home/user/bin
SCRIPTPATH=$(dirname "$SCRIPT")
DIR=$(dirname "$SCRIPTPATH");
DIR_CONF=$DIR"/conf"
prt-get depinst xorg-server \
xorg-xinit \
xorg-xrdb \
xorg-xdpyinfo \
xorg-xauth \
xorg-xmodmap \
xorg-xrandr \
xorg-xgamma \
xorg-xf86-input-evdev \
xorg-xf86-input-synaptics \
xsel \
xkeyboard-config
prt-get depinst xorg-font-util \
xorg-font-alias \
xorg-font-dejavu-ttf \
xorg-font-cursor-misc \
xorg-font-misc-misc \
console-font-terminus \
xorg-font-terminus \
xorg-font-mutt-misc
prt-get search xorg-font-bitstream | xargs sudo prt-get depinst
prt-get search xorg-font-bh | xargs sudo prt-get depinst
#prt-get search otf- | xargs sudo prt-get depinst
#prt-get depinst otf-sourcecode
prt-get depinst \
alsa-utils \
libdrm \
mesa3d \
ffmpeg \
gstreamer \
gstreamer-vaapi \
gst-plugins-base \
gst-plugins-good \
gst-plugins-bad \
gst-plugins-ugly \
cmus \
dmenu \
st \
gparted \
gimp \
libreoffice \
ca-certificates \
linux-pam \
gstreamer \
libgd \
icu \
syndaemon \
firefox
prt-get depinst \
openbox \
dwm \
spectrwm \
mate
ConfirmOrExit () {
while true
do
echo -n "Please confirm (y or n) :"
read CONFIRM
case $CONFIRM in
y|Y|YES|yes|Yes) break ;;
n|N|no|NO|No)
echo "Aborting - you entered $CONFIRM"
exit
;;
*) echo "Please enter only y or n"
esac
done
echo "You entered $CONFIRM. Continuing ..."
}
echo "SCRIPT=$SCRIPT";
echo "SCRIPTPATH=$SCRIPTPATH";
echo "DIR=$DIR";
echo "DIR_CONF=$DIR_CONF";
ConfirmOrExit
cp -R $DIR_CONF/etc/X11/* /etc/X11/
|