Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ git diff --no-ext-diff
- diff --git a/PKGBUILD b/PKGBUILD
- index 1f4fe2d..3eb36d7 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -1,7 +1,7 @@
- # Maintainer: Dennis Stengele <d.stengele (at) derintendant (dot) de>
- pkgname=tuptime
- pkgver=4.1.0
- -pkgrel=1
- +pkgrel=2
- pkgdesc="Report the historical and statistical running time of system"
- arch=('any')
- url="https://github.com/rfrail3/tuptime"
- @@ -26,6 +26,5 @@ package() {
- install -D -m644 "src/systemd/tuptime-cron.service" "$pkgdir/usr/lib/systemd/system/tuptime-cron.service"
- install -D -m644 "src/systemd/tuptime-cron.timer" "$pkgdir/usr/lib/systemd/system/tuptime-cron.timer"
- install -d -m755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
- - ln -s "../tuptime.timer" "$pkgdir/usr/lib/systemd/system/timers.target.wants/tuptime.timer"
- ln -s "../tuptime-cron.timer" "$pkgdir/usr/lib/systemd/system/timers.target.wants/tuptime-cron.timer"
- }
- diff --git a/tuptime.install b/tuptime.install
- index 322af16..09c0186 100644
- --- a/tuptime.install
- +++ b/tuptime.install
- @@ -1,7 +1,16 @@
- post_install() {
- echo ""
- - echo "tuptime has been installed and the corresponding .timer unit"
- - echo "has been enabled. To start tuptime now, run"
- - echo " # systemctl start tuptime.timer"
- + echo "|--------------------------- tuptime ---------------------------|"
- + echo ""
- + echo " Tuptime has been installed correctly."
- + echo " Finish the setup enabling and staring their units with:"
- + echo ""
- + echo " systemctl enable tuptime.service"
- + echo " systemctl start tuptime.service"
- + echo " systemctl enable tuptime-cron.timer"
- + echo " systemctl start tuptime-cron.timer"
- + echo " systemctl start tuptime-cron.service"
- + echo ""
- + echo "|---------------------------------------------------------------|"
- echo ""
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement