summarylogtreecommitdiffstats
path: root/wps-office.install
diff options
context:
space:
mode:
authorUniversebenzene2018-09-10 19:59:24 +0800
committerUniversebenzene2018-09-10 19:59:24 +0800
commitea89633f54ec0c7fb816919b439998de38ec4a29 (patch)
treebc6d5057544672eb74334bb6047ecdec811d130b /wps-office.install
parent2788e0e30059ab8c74bf3e16393a61de8ca231b1 (diff)
downloadaur-ea89633f54ec0c7fb816919b439998de38ec4a29.tar.gz
Fix depends & pacman hook
Diffstat (limited to 'wps-office.install')
-rw-r--r--wps-office.install16
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()