From 316488582a30b91e14e942de6f3dd1a5f528571b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Mar 2021 00:05:06 +0300 Subject: pacman: fix PKGBUILD --- dist/pacman/PKGBUILD | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dist/pacman/PKGBUILD b/dist/pacman/PKGBUILD index f216c93..5a1242c 100644 --- a/dist/pacman/PKGBUILD +++ b/dist/pacman/PKGBUILD @@ -18,15 +18,13 @@ package() { install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status" README.md install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status/img" img/example.png + install -D -m 0755 -t "$pkgdir/srv/linux-status" app.py + install -D -m 0755 -t "$pkgdir/srv/linux-status" server.py + install -D -m 0644 -t "$pkgdir/srv/linux-status" index.html install -D -m 0644 -t "$pkgdir/srv/linux-status/css" css/bootstrap.min.css install -D -m 0644 -t "$pkgdir/srv/linux-status/js" js/bootstrap.bundle.min.js install -D -m 0644 -t "$pkgdir/srv/linux-status/js" js/jquery-3.3.1.min.js - while IFS= read -d '' -r file; do - install -D -m 0755 -t "$pkgdir/srv/linux-status/cgi-bin" "$file" - done < <( find cgi-bin -type f -print0 ) install -D -m 0644 -t "$pkgdir/usr/lib/systemd/system" dist/systemd/linux-status.service - - install -D -m 0440 -t "$pkgdir/etc/sudoers.d" dist/sudoers.d/linux-status } -- cgit v1.2.3