forked from stz2012/recpt1
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zshでdkms.install、dkms.uninstallを利用できるように修正
- Loading branch information
1 parent
2e6303a
commit f1c41b6
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
. dkms.uninstall | ||
. ./dkms.uninstall | ||
|
||
su -c " | ||
cp -a `pwd`/driver-pt1 /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
. driver/dkms.conf | ||
if [ "$ZSH_NAME" = "zsh" ];then | ||
setopt localoptions ksharrays | ||
fi | ||
|
||
. ./driver/dkms.conf | ||
|
||
su -c " | ||
dkms remove -m $PACKAGE_NAME -v $PACKAGE_VERSION --all; | ||
make uninstall; | ||
rm -vrf /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION" |