Added an command line argument for explicit running master
authorAndrew Sichevoi <k@thekondor.net>
Thu, 6 Sep 2012 05:28:48 +0000 (09:28 +0400)
committerAndrew Sichevoi <k@thekondor.net>
Thu, 6 Sep 2012 05:28:48 +0000 (09:28 +0400)
acpi-call-installer/install-acpi-call.sh

index 086b262..ed5d5df 100755 (executable)
@@ -130,7 +130,10 @@ _install_dkms_module()
     _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