diff options
author | Your Name | 2019-02-21 14:08:30 -0500 |
---|---|---|
committer | Your Name | 2019-02-21 14:08:30 -0500 |
commit | 4f9c57b516623715c57b79578e1289b27c78f0b7 (patch) | |
tree | fd07561f7f2b9c04c7c6c1ed7e9df6b2f5110502 /PKGBUILD | |
parent | 6b147d7eefd7ea9ae3701492d63db5e6884f1cd2 (diff) | |
download | aur-4f9c57b516623715c57b79578e1289b27c78f0b7.tar.gz |
set folder permissions correctly before tor.install
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -76,12 +76,18 @@ package() { make DESTDIR="$pkgdir" install rm -f "$pkgdir/etc/tor/tor-tsocks.conf" - install -Dm640 "$srcdir/torrc" "$pkgdir/etc/tor/torrc" + + install -dm750 "$pkgdir/etc/tor" + install -dm750 "$pkgdir/etc/tor/torrc.d" + + install -Dm640 "$srcdir/torrc" "$pkgdir/etc/tor/torrc" + install -Dm640 "$srcdir/nodes" "$pkgdir/etc/tor/torrc.d/nodes" + install -Dm640 "$srcdir/transparent_proxy" "$pkgdir/etc/tor/torrc.d/transparent_proxy" + + install -Dm644 "$srcdir/tor.logrotate" "$pkgdir/etc/logrotate.d/tor" install -Dm644 "$srcdir/tor.service" "$pkgdir/usr/lib/systemd/system/tor.service" install -Dm644 "$srcdir/tor.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/tor.conf" install -Dm644 "$srcdir/tor.sysusers" "$pkgdir/usr/lib/sysusers.d/tor.conf" - install -Dm644 "$srcdir/tor.logrotate" "$pkgdir/etc/logrotate.d/tor" - install -Dm644 "$srcdir/nodes" "$pkgdir/etc/tor/torrc.d/nodes" - install -Dm644 "$srcdir/transparent_proxy" "$pkgdir/etc/tor/torrc.d/transparent_proxy" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/tor/LICENSE" } |