diff options
author | Universebenzene | 2018-09-10 19:59:24 +0800 |
---|---|---|
committer | Universebenzene | 2018-09-10 19:59:24 +0800 |
commit | ea89633f54ec0c7fb816919b439998de38ec4a29 (patch) | |
tree | bc6d5057544672eb74334bb6047ecdec811d130b /wps-office.install | |
parent | 2788e0e30059ab8c74bf3e16393a61de8ca231b1 (diff) | |
download | aur-ea89633f54ec0c7fb816919b439998de38ec4a29.tar.gz |
Fix depends & pacman hook
Diffstat (limited to 'wps-office.install')
-rw-r--r-- | wps-office.install | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/wps-office.install b/wps-office.install index 8cacd83782af..fdd39f54ff24 100644 --- a/wps-office.install +++ b/wps-office.install @@ -144,20 +144,9 @@ function ks_config_menu() } -function ks_config_fonts() -{ - if [ -d /usr/share/fonts/wps-office ] ; then - cd /usr/share/fonts/wps-office - mkfontscale - mkfontdir - fc-cache -f - fi -} - function ks_config() { ks_config_menu - ks_config_fonts } function ks_remove() @@ -173,11 +162,6 @@ function ks_remove() if [ -x /usr/bin/update-desktop-database ] ; then update-desktop-database -q "${ksv_xdg_dir}/applications" fi - - if [ -d /usr/share/fonts/wps-office ] ; then - cd /usr/share/fonts - fc-cache -f - fi } function ks_purge() |