summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-08-05 21:19:35 +0200
committerMartin Väth <martin@mvath.de>2017-08-05 21:19:35 +0200
commit69433841ba7cdc7cd5e520c307087e6d3cafdebc (patch)
tree28be6a9eac0860b876753ad44805199de0d5961b
parentmedia-tv/sundtek-tv: Version bump (diff)
downloadmv-69433841ba7cdc7cd5e520c307087e6d3cafdebc.tar.gz
mv-69433841ba7cdc7cd5e520c307087e6d3cafdebc.tar.bz2
mv-69433841ba7cdc7cd5e520c307087e6d3cafdebc.zip
media-tv/sundtek-tv: Do not auto-add sundtek.service to /etc
-rw-r--r--media-tv/sundtek-tv/sundtek-tv-170805.015349-r1.ebuild (renamed from media-tv/sundtek-tv/sundtek-tv-170805.015349.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/media-tv/sundtek-tv/sundtek-tv-170805.015349.ebuild b/media-tv/sundtek-tv/sundtek-tv-170805.015349-r1.ebuild
index 6717a555..bcb6252b 100644
--- a/media-tv/sundtek-tv/sundtek-tv-170805.015349.ebuild
+++ b/media-tv/sundtek-tv/sundtek-tv-170805.015349-r1.ebuild
@@ -98,6 +98,10 @@ src_prepare() {
! test -r etc/udev/rules.d/80-mediasrv-eeti.rules ||
sed -i -e "s/^\([^#]\)/#\1/" etc/udev/rules.d/80-mediasrv-eeti.rules \
|| die
+ rm etc/systemd/system/multi-user.target.wants/sundtek.service || die
+ rmdir etc/systemd/system/multi-user.target.wants || die
+ rmdir etc/systemd/system || die
+ rmdir etc/systemd || die
mv etc/udev/rules.d/80-mediasrv.rules etc/hal . || die
mv etc/udev "${myudev}" || die
mv 1/doc/hardware.conf 1/doc/sundtek.conf "${mylirc}" || die