committing changes in /etc made by "-bash"

Package changes:
This commit is contained in:
2022-06-28 13:58:41 +03:00
parent 8d7d57094b
commit d88901024c
6 changed files with 28 additions and 29 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/bash
#!/bin/sh
if [[ "$1" == "add" ]]; then
/etc/kernel/postinst.d/dkms $2
if [ "$1" = "add" ]; then
/etc/kernel/postinst.d/dkms "$2"
fi
if [[ "$1" == "remove" ]]; then
/etc/kernel/prerm.d/dkms $2
if [ "$1" = "remove" ]; then
/etc/kernel/prerm.d/dkms "$2"
fi