Advertisement
rfraile

PKGBUILD tuptime diff port

Jan 12th, 2020 (edited)
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.87 KB | None | 0 0
  1. $ git diff --no-ext-diff
  2. diff --git a/PKGBUILD b/PKGBUILD
  3. index 1f4fe2d..3eb36d7 100644
  4. --- a/PKGBUILD
  5. +++ b/PKGBUILD
  6. @@ -1,7 +1,7 @@
  7.  # Maintainer: Dennis Stengele <d.stengele (at) derintendant (dot) de>
  8.  pkgname=tuptime
  9.  pkgver=4.1.0
  10. -pkgrel=1
  11. +pkgrel=2
  12.  pkgdesc="Report the historical and statistical running time of system"
  13.  arch=('any')
  14.  url="https://github.com/rfrail3/tuptime"
  15. @@ -26,6 +26,5 @@ package() {
  16.      install -D -m644 "src/systemd/tuptime-cron.service" "$pkgdir/usr/lib/systemd/system/tuptime-cron.service"
  17.      install -D -m644 "src/systemd/tuptime-cron.timer" "$pkgdir/usr/lib/systemd/system/tuptime-cron.timer"
  18.      install -d -m755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
  19. -    ln -s "../tuptime.timer" "$pkgdir/usr/lib/systemd/system/timers.target.wants/tuptime.timer"
  20.      ln -s "../tuptime-cron.timer" "$pkgdir/usr/lib/systemd/system/timers.target.wants/tuptime-cron.timer"
  21.  }
  22. diff --git a/tuptime.install b/tuptime.install
  23. index 322af16..09c0186 100644
  24. --- a/tuptime.install
  25. +++ b/tuptime.install
  26. @@ -1,7 +1,16 @@
  27.  post_install() {
  28.      echo ""
  29. -    echo "tuptime has been installed and the corresponding .timer unit"
  30. -    echo "has been enabled. To start tuptime now, run"
  31. -    echo "    # systemctl start tuptime.timer"
  32. +    echo "|--------------------------- tuptime ---------------------------|"
  33. +    echo ""
  34. +    echo "    Tuptime has been installed correctly."
  35. +    echo "    Finish the setup enabling and staring their units with:"
  36. +    echo ""
  37. +    echo "        systemctl enable tuptime.service"
  38. +    echo "        systemctl start tuptime.service"
  39. +    echo "        systemctl enable tuptime-cron.timer"
  40. +    echo "        systemctl start tuptime-cron.timer"
  41. +    echo "        systemctl start tuptime-cron.service"
  42. +    echo ""
  43. +    echo "|---------------------------------------------------------------|"
  44.      echo ""
  45.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement