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.

ohsnap.install 448B

5 년 전
1234567891011121314151617181920
  1. # arg 1: the new package version
  2. post_install() {
  3. echo "Updating font cache... "
  4. fc-cache -fs >/dev/null 2>&1
  5. mkfontscale /usr/share/fonts/local
  6. mkfontdir /usr/share/fonts/local
  7. }
  8. # arg 1: the new package version
  9. # arg 2: the old package version
  10. post_upgrade() {
  11. post_install $1
  12. }
  13. # arg 1: the old package version
  14. post_remove() {
  15. fc-cache -fs >/dev/null 2>&1
  16. mkfontscale /usr/share/fonts/local
  17. mkfontdir /usr/share/fonts/local
  18. }