You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.8 KiB

4 years ago
  1. +++
  2. title = "Upgrade Script"
  3. description = "Memeriksa pembaruan After Dark dan mengupgrade dengan mudah."
  4. categories = ["core"]
  5. tags = ["updating", "installation", "scripts"]
  6. feature = ["code highlighter", "related content", "snippets"]
  7. [[copyright]]
  8. owner = "Josh Habdas"
  9. date = "2019"
  10. license = "agpl-3.0-or-later"
  11. +++
  12. Untuk memeriksa pembaruan dan secara otomatis megupgrade After Dark ke versi terbaru, jalankan upgrade skrip dari direktori situs anda:
  13. ```sh
  14. cd flying toasters && \
  15. ./themes/after-dark/bin/upgrade
  16. ```
  17. Jika anda sudah menggunakan versi terbaru, skrip akan memberitahu anda:
  18. {{< hackcss-alert type="info" >}}
  19. <samp class="muted">Did not upgrade after-dark. Already using latest version.</samp>
  20. {{< /hackcss-alert >}}
  21. Jika pembaruan tersedia, skrip akan mengunduh dan menginstalnya secara otomatis:
  22. {{< hackcss-alert type="info" >}}
  23. <samp class="muted">Starting upgrade from 6.7.6 to 6.8.0 ...<br>
  24. Version 6.8.0 downloaded to themes/after-dark<br>
  25. Stopping help server if running ...</br>
  26. Generating help documentation ...<br>
  27. Upgrade complete! Please see CHANGELOG.md for changes.</samp>
  28. {{< /hackcss-alert >}}
  29. Jika versi saat ini tidak dapat dideteksi skrip akan meminta anda:
  30. {{< hackcss-alert type="info" >}}
  31. <samp class="muted">Cannot detect version. Upgrade after-dark anyway (y/n)? y<br>
  32. Starting upgrade from unknown version to 6.12.1 ...<br>
  33. Version 6.12.1 downloaded to themes/after-dark<br>
  34. Stopping help server if running ...</br>
  35. Generating help documentation ...<br>
  36. Upgrade complete! Please see CHANGELOG.md for changes.</samp>
  37. {{< /hackcss-alert >}}
  38. Seperti [Quick Install](../quick-install) Skrip upgrade ditulis ke standar PSOIX tidak akan memerlukan ketergantungan tambahan untuk beroperasi di sebagian besar sistem. Setelah upgrade [Release Hash](../release-hashes) akan memperbarui juga sehingga anda akan [Validate Release](/validate).