mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/system76-io-dkms: Change delimiter in sed (sbolint).
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
27d286f6f9
commit
4d623aa452
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
VER=#MODULE_VERSION#
|
VER=@MODULE_VERSION@
|
||||||
dkms install system76-io/$VER
|
dkms install system76-io/$VER
|
||||||
|
|
||||||
# Before removing the system76-io package, the following command should
|
# Before removing the system76-io package, the following command should
|
||||||
|
|
|
@ -67,7 +67,7 @@ cp -a \
|
||||||
$PKG/usr/src/$MODNAM-$VERSION
|
$PKG/usr/src/$MODNAM-$VERSION
|
||||||
|
|
||||||
# Edit and install dkms configuration
|
# 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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
|
@ -77,7 +77,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
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
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
Loading…
Reference in a new issue