summaryrefslogtreecommitdiff
path: root/source/x/x11/src/get-xf86-video-nouveau.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/src/get-xf86-video-nouveau.sh')
-rwxr-xr-xsource/x/x11/src/get-xf86-video-nouveau.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/x/x11/src/get-xf86-video-nouveau.sh b/source/x/x11/src/get-xf86-video-nouveau.sh
index 72d3efd3..9a21febd 100755
--- a/source/x/x11/src/get-xf86-video-nouveau.sh
+++ b/source/x/x11/src/get-xf86-video-nouveau.sh
@@ -1,8 +1,14 @@
# Pull a stable branch + patches
BRANCH=master
-rm -rf xf86-video-nouveau
-git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau/
+#rm -rf xf86-video-nouveau
+if [ -d xf86-video-nouveau ]; then
+ cd xf86-video-nouveau
+ git pull -f
+ cd ..
+else
+ git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau/
+fi
# use master branch
#( cd xf86-video-nouveau