diff options
Diffstat (limited to 'source/l/pipewire')
-rw-r--r-- | source/l/pipewire/doinst.sh | 15 | ||||
-rwxr-xr-x | source/l/pipewire/pipewire.SlackBuild | 5 |
2 files changed, 2 insertions, 18 deletions
diff --git a/source/l/pipewire/doinst.sh b/source/l/pipewire/doinst.sh deleted file mode 100644 index 50765972..00000000 --- a/source/l/pipewire/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/pipewire/pipewire.conf.new - diff --git a/source/l/pipewire/pipewire.SlackBuild b/source/l/pipewire/pipewire.SlackBuild index 4517caa2..86a6da0a 100755 --- a/source/l/pipewire/pipewire.SlackBuild +++ b/source/l/pipewire/pipewire.SlackBuild @@ -110,8 +110,8 @@ meson setup \ DESTDIR=$PKG $NINJA install || exit 1 cd .. -# Do not clobber custom configurations: -mv $PKG/etc/pipewire/pipewire.conf{,.new} +# Create system config file override directory: +mkdir -p $PKG/etc/pipewire # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -130,7 +130,6 @@ cp -a \ $PKG/usr/doc/${PKGNAM}-$VERSION mkdir -p $PKG/install -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG |