Permalink
Browse files

Add TODO.

When testing for running distribution, realize that Debian and Ubuntu
can have rpm installed too.

Remove redundant call in setup_kernels_arches in make_deb().  It's
called by make_tarball inside make_deb() already.
  • Loading branch information...
mdomsch committed Jun 21, 2007
1 parent ca02ddf commit 8d47836fdaec81db84a4a18139df0d9709d2eea5
Showing with 4 additions and 5 deletions.
  1. +1 −0 TODO
  2. +3 −5 dkms
View
1 TODO
@@ -0,0 +1 @@
* do we need to keep the collisions/ directory after a remove?
View
8 dkms
@@ -257,8 +257,7 @@ function distro_version()
local dist
dist=unknown
if [ -x /bin/rpm ]; then
if which rpm > /dev/null 2>&1 ; then
WHATPROVIDES_REDHAT_RELEASE=$(rpm -q --whatprovides redhat-release)
if [ $? -eq 0 ]; then
if $(echo "${WHATPROVIDES_REDHAT_RELEASE}" | grep redhat-release > /dev/null 2>&1) ; then
@@ -279,7 +278,8 @@ function distro_version()
if [ $? -eq 0 ]; then
SUSE_RELEASE=1
fi
elif [ -r /etc/lsb-release ]; then
fi
if [ -r /etc/lsb-release ]; then
. /etc/lsb-release
LSB_RELEASE=1
fi
@@ -2927,8 +2927,6 @@ function preproc_file()
function make_deb()
{
setup_kernels_arches "mkdeb"
# Error if $module_version is set but $module is not
if [ -z "$module" ] || [ -z "$module_version" ]; then
echo $"" >&2

0 comments on commit 8d47836

Please sign in to comment.