Skip to content

Commit

Permalink
tweaking postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Nov 3, 2024
1 parent 78eeb5a commit ac68bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Copyright (C) 2007 Mario Limonciello
# Copyright (C) 2009 Alberto Milone

set -e
# set -e

NAME=realtek-r8821cu
PACKAGE_NAME=$NAME-dkms
Expand All @@ -15,7 +15,7 @@ ARCH=$(dpkg --print-architecture)
dkms_configure () {
for POSTINST in /usr/lib/dkms/common.postinst "/usr/share/$PACKAGE_NAME/postinst"; do
if [ -f "$POSTINST" ]; then
nohup "$POSTINST" "$NAME" "$CVERSION" "/usr/share/$PACKAGE_NAME" "$ARCH" "$2"
"$POSTINST" "$NAME" "$CVERSION" "/usr/share/$PACKAGE_NAME" "$ARCH" "$2"
return $?
fi
echo "WARNING: $POSTINST does not exist." >&2
Expand Down

0 comments on commit ac68bbf

Please sign in to comment.