blob: 5c3d1f614ecfbd0d1abe885c026512fa5ea71c8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#there are one config file, provided by nvidia
NAME="X11/xorg.conf.d/10-nvidia.conf"
post_install() {
echo "Creating /etc/${NAME} ..."
[ ! -f /etc/${NAME} ] && cp -v /usr/share/${NAME} /etc/${NAME}
cat <<DOC
Pay attention!!!
If you use xorg-server-git then you may need to uncomment some lines in /etc/${NAME}
DOC
}
# post_upgrade() {
# post_install
# }
post_remove() {
echo "Removing /etc/X11/xorg.conf.d/10-nvidia.conf ..."
rm -v /etc/${NAME}
}
|