summaryrefslogtreecommitdiff
path: root/pcr/culmus/culmus.install
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-12 05:46:17 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-12 07:15:27 -0400
commit6adb687f5b1fa29e36ba39624a4f5ed294b10a6e (patch)
treefaed837f0e0a5239fd220a5fb07ccac6fc39dc8b /pcr/culmus/culmus.install
parente5040a86fb06532d41a83a614a0e6e3a34a9d6a9 (diff)
downloadabslibre-6adb687f5b1fa29e36ba39624a4f5ed294b10a6e.tar.gz
abslibre-6adb687f5b1fa29e36ba39624a4f5ed294b10a6e.tar.bz2
abslibre-6adb687f5b1fa29e36ba39624a4f5ed294b10a6e.zip
[culmus]: remove package
could not make it work
Diffstat (limited to 'pcr/culmus/culmus.install')
-rw-r--r--pcr/culmus/culmus.install41
1 files changed, 0 insertions, 41 deletions
diff --git a/pcr/culmus/culmus.install b/pcr/culmus/culmus.install
deleted file mode 100644
index 1376ca5ce..000000000
--- a/pcr/culmus/culmus.install
+++ /dev/null
@@ -1,41 +0,0 @@
-configs=('61-culmus.conf')
-
-update_fontcache() {
- fc-cache -fs
- mkfontscale /usr/share/fonts/Type1
- mkfontdir /usr/share/fonts/Type1
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
-}
-
-post_install() {
- pushd /etc/fonts/conf.d > /dev/null
- for config in "${configs[@]}"; do
- ln -sf ../conf.avail/${config} .
- done
- popd > /dev/null
-
- update_fontcache
-}
-
-post_upgrade() {
- if [ "`vercmp 0.102-1 $2`" != "-1" ] || [ ! -L /etc/fonts/conf.d/61-culmus.conf ]; then
- pushd /etc/fonts/conf.d > /dev/null
- for config in "${configs[@]}"; do
- ln -sf ../conf.avail/${config} .
- done
- popd > /dev/null
- fi
-
- update_fontcache
-}
-
-post_remove() {
- pushd /etc/fonts/conf.d > /dev/null
- for config in "${configs[@]}"; do
- rm -f ${config}
- done
- popd > /dev/null
-
- update_fontcache
-}