[Pkg-fglrx-devel] r741 - fglrx-driver/trunk/debian
Andreas Beckmann
anbe-guest at alioth.debian.org
Thu Aug 25 07:35:25 UTC 2011
Author: anbe-guest
Date: 2011-08-25 07:35:25 +0000 (Thu, 25 Aug 2011)
New Revision: 741
Added:
fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst.in
fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm.in
Removed:
fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm
Log:
prepare for using _VERSION_ substitution
Deleted: fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst 2011-08-25 07:33:51 UTC (rev 740)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst 2011-08-25 07:35:25 UTC (rev 741)
@@ -1,25 +0,0 @@
-#!/bin/sh
-set -e
-
-package=fglrx-modules-dkms
-
-version=`dpkg-query -W -f='${Version}' $package \
- |rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
-
-isadded=`dkms status -m fglrx -v $version`
-
-if [ "x${isadded}" = "x" ] ; then
- dkms add -m fglrx -v $version
-fi
-
-if [ "$1" = "configure" ] ; then
- cd /lib/modules
- ls | while read kversion ; do
- if [ -e $kversion/build/include/linux/version.h ] ; then
- dkms build -m fglrx -v $version -k $kversion || true
- dkms install -m fglrx -v $version -k $kversion --force || true
- fi
- done
-fi
-
-#DEBHELPER#
Copied: fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst.in (from rev 740, fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst)
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst.in (rev 0)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst.in 2011-08-25 07:35:25 UTC (rev 741)
@@ -0,0 +1,25 @@
+#!/bin/sh
+set -e
+
+package=fglrx-modules-dkms
+
+version=`dpkg-query -W -f='${Version}' $package \
+ |rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
+
+isadded=`dkms status -m fglrx -v $version`
+
+if [ "x${isadded}" = "x" ] ; then
+ dkms add -m fglrx -v $version
+fi
+
+if [ "$1" = "configure" ] ; then
+ cd /lib/modules
+ ls | while read kversion ; do
+ if [ -e $kversion/build/include/linux/version.h ] ; then
+ dkms build -m fglrx -v $version -k $kversion || true
+ dkms install -m fglrx -v $version -k $kversion --force || true
+ fi
+ done
+fi
+
+#DEBHELPER#
Deleted: fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm 2011-08-25 07:33:51 UTC (rev 740)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm 2011-08-25 07:35:25 UTC (rev 741)
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -e
-
-package=fglrx-modules-dkms
-
-version=`dpkg-query -W -f='${Version}' "$package" \
- |rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
-
-dkms remove -m fglrx -v "$version" --all || true
-
-#DEBHELPER#
Copied: fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm.in (from rev 740, fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm)
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm.in (rev 0)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.prerm.in 2011-08-25 07:35:25 UTC (rev 741)
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+package=fglrx-modules-dkms
+
+version=`dpkg-query -W -f='${Version}' "$package" \
+ |rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
+
+dkms remove -m fglrx -v "$version" --all || true
+
+#DEBHELPER#
More information about the Pkg-fglrx-devel
mailing list