diff options
author | OriginCode | 2018-01-29 13:19:56 +0800 |
---|---|---|
committer | OriginCode | 2018-01-29 13:19:56 +0800 |
commit | 8578c53d5b81891e6de6af33eb0cc320f8c5b37d (patch) | |
tree | 2846f3116517d3a773c86eb21e09fd55d9dcf379 | |
parent | a36ea8ebed1f39b7bb761e7dfb8863f88a25c228 (diff) | |
download | aur-8578c53d5b81891e6de6af33eb0cc320f8c5b37d.tar.gz |
Updated the script.
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | bilibili-live-helper.install | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -16,8 +16,6 @@ build() { } package() { install -d "${pkgdir}/opt/${pkgname}" - install -d "${pkgdir}/usr/bin/" cp -r bilibili-live-helper/* "${pkgdir}/opt/${pkgname}" - ln -s "${pkgdir}/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" } diff --git a/bilibili-live-helper.install b/bilibili-live-helper.install index 08febb30bce5..516eca7bc07a 100644 --- a/bilibili-live-helper.install +++ b/bilibili-live-helper.install @@ -1,3 +1,6 @@ post_install() { + ln -s /opt/bilibili-live-helper/bilibili-live-helper /usr/bin/bilibili-live-helper echo "For transparent support, please add these arguments: --enable-transparent-visuals and --disable-gpu" } +pre_remove() { + rm /usr/bin/bilibili-live-helper |