diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/system76-io-dkms/doinst.sh | 2 | ||||
-rw-r--r-- | system/system76-io-dkms/system76-io-dkms.SlackBuild | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/system/system76-io-dkms/doinst.sh b/system/system76-io-dkms/doinst.sh index 9e5bcd5ed0..6b33ed6c28 100644 --- a/system/system76-io-dkms/doinst.sh +++ b/system/system76-io-dkms/doinst.sh @@ -1,4 +1,4 @@ -VER=#MODULE_VERSION# +VER=@MODULE_VERSION@ dkms install system76-io/$VER # Before removing the system76-io package, the following command should diff --git a/system/system76-io-dkms/system76-io-dkms.SlackBuild b/system/system76-io-dkms/system76-io-dkms.SlackBuild index 40ad2dc99d..3b9dead3d7 100644 --- a/system/system76-io-dkms/system76-io-dkms.SlackBuild +++ b/system/system76-io-dkms/system76-io-dkms.SlackBuild @@ -67,7 +67,7 @@ cp -a \ $PKG/usr/src/$MODNAM-$VERSION # Edit and install dkms configuration -sed "s/#MODULE_VERSION#/${VERSION}/" "debian/system76-io-dkms.dkms" > "$PKG/usr/src/$MODNAM-$VERSION/dkms.conf" +sed "s/@MODULE_VERSION@/${VERSION}/" "debian/system76-io-dkms.dkms" > "$PKG/usr/src/$MODNAM-$VERSION/dkms.conf" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ @@ -77,7 +77,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -sed "s/#MODULE_VERSION#/${VERSION}/" "$CWD/doinst.sh" > "$PKG/install/doinst.sh" +sed "s/@MODULE_VERSION@/${VERSION}/" "$CWD/doinst.sh" > "$PKG/install/doinst.sh" cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |