dotfiles/bin/install_codecs

18 lines
437 B
Plaintext
Raw Permalink Normal View History

2020-08-06 08:44:29 +00:00
#!/bin/bash
2020-10-14 08:52:24 +00:00
set -aeou pipefail
2020-08-06 08:44:29 +00:00
[[ "$EUID" != 0 ]] && echo "Run as root!" && exit 1
zypper refresh
zypper dist-upgrade --from packman --allow-downgrade --allow-vendor-change
zypper install --from packman \
ffmpeg \
gstreamer-plugins-bad \
gstreamer-plugins-libav \
gstreamer-plugins-ugly \
libavcodec58 \
libavdevice58 \
libavfilter7 \
libavformat58 \
libavresample4 \
libavutil56 \
vlc-codecs