diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-01 04:45:05 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-01 04:45:05 -0200 |
commit | 52dd108836155b53454bd95a4a9dbd0c104b79d3 (patch) | |
tree | c87f4853b64b5333f7a5aa97bdb5823d34628e21 /libre/dkms-libre/01-broken-uninstall.patch | |
parent | 5af0fca430a07bda87310d2ef1a33b6cdb31f732 (diff) | |
parent | e2abfecd7d65712f41cd27c8f5ae8d69c478f214 (diff) | |
download | abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.tar.gz abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.tar.bz2 abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/dkms-libre/01-broken-uninstall.patch')
-rw-r--r-- | libre/dkms-libre/01-broken-uninstall.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libre/dkms-libre/01-broken-uninstall.patch b/libre/dkms-libre/01-broken-uninstall.patch deleted file mode 100644 index a859efabe..000000000 --- a/libre/dkms-libre/01-broken-uninstall.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/dkms b/dkms -index abb01a4..265b69a 100644 ---- a/dkms -+++ b/dkms -@@ -162,11 +162,14 @@ set_kernel_source_dir() - - # A little test function for DKMS commands that only work on one kernel. - have_one_kernel() { -- (( ${#kernelver[@]} > 1 )) && \ -- die 4 $"The action $1 does not support multiple kernel version" \ -- $"parameters on the command line." -- [[ $all ]] && die 5 $"The action $1 does not support the --all" \ -- $"parameter." -+ if (( ${#kernelver[@]} != 1 )); then -+ die 4 $"The action $1 does not support multiple kernel version" \ -+ $"parameters on the command line." -+ fi -+ if [[ $all ]]; then -+ die 5 $"The action $1 does not support the --all" \ -+ $"parameter." -+ fi - } |