projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0689a21
)
Added an command line argument for explicit running
master
author
Andrew Sichevoi
<k@thekondor.net>
Thu, 6 Sep 2012 05:28:48 +0000
(09:28 +0400)
committer
Andrew Sichevoi
<k@thekondor.net>
Thu, 6 Sep 2012 05:28:48 +0000
(09:28 +0400)
acpi-call-installer/install-acpi-call.sh
patch
|
blob
|
history
diff --git
a/acpi-call-installer/install-acpi-call.sh
b/acpi-call-installer/install-acpi-call.sh
index
086b262
..
ed5d5df
100755
(executable)
--- a/
acpi-call-installer/install-acpi-call.sh
+++ b/
acpi-call-installer/install-acpi-call.sh
@@
-130,7
+130,10
@@
_install_dkms_module()
_error "DKMS module cannot be installed"
fi
}
_error "DKMS module cannot be installed"
fi
}
-
+
+if [ x"run" != x"$1" ]; then
+ _error "To confirm your intentions execute with 'run' argument"
+fi
_check_permissions
_check_if_already_installed
_check_permissions
_check_if_already_installed