diff options
author | Alexander Georgievskiy | 2020-12-13 01:41:23 +0300 |
---|---|---|
committer | Alexander Georgievskiy | 2020-12-13 01:41:23 +0300 |
commit | 4c5dcaff9279bcc4fcb56ab965a2c068fcefb6fd (patch) | |
tree | 8e357cf484dabcb0ddf7e77f1fe6cd5d4fe1f5c8 /lib32-ffmpeg-steam.service | |
parent | 9d4a023e2e6a547aac02750f15670431a60333f5 (diff) | |
download | aur-4c5dcaff9279bcc4fcb56ab965a2c068fcefb6fd.tar.gz |
systemd
Diffstat (limited to 'lib32-ffmpeg-steam.service')
-rw-r--r-- | lib32-ffmpeg-steam.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib32-ffmpeg-steam.service b/lib32-ffmpeg-steam.service new file mode 100644 index 000000000000..86c6b7a2cf20 --- /dev/null +++ b/lib32-ffmpeg-steam.service @@ -0,0 +1,13 @@ +[Unit] +Wants=lib32-ffmpeg-steam-libx.service +After=lib32-ffmpeg-steam-libx.path + +[Service] +# yes, this is oneshot. Cannot use Steam until all symlinks is set +Type=oneshot +# just for beautiful green +RemainAfterExit=yes +ExecStop=mv %h/.local/share/lib32-ffmpeg-steam/libavcodec.so.57 %h/.local/share/Steam/ubuntu12_32/libavcodec.so.57 +ExecStop=mv %h/.local/share/lib32-ffmpeg-steam/libavformat.so.57 %h/.local/share/Steam/ubuntu12_32/libavformat.so.57 +ExecStop=mv %h/.local/share/lib32-ffmpeg-steam/libavresample.so.3 %h/.local/share/Steam/ubuntu12_32/libavresample.so.3 +ExecStop=mv %h/.local/share/lib32-ffmpeg-steam/libavutil.so.55 %h/.local/share/Steam/ubuntu12_32/libavutil.so.55 |