diff options
author | Pantelis Panayiotou | 2015-09-22 12:21:51 +0300 |
---|---|---|
committer | Pantelis Panayiotou | 2015-09-22 12:21:51 +0300 |
commit | 717c497c7bb964b8f84c2b6aa2026421a065cb04 (patch) | |
tree | 537faea1a16a20ac72033e2712fd4c666c1bcd4c /symlinks.install | |
download | aur-717c497c7bb964b8f84c2b6aa2026421a065cb04.tar.gz |
New release, up to date with latest version of Greek-Thesaurus.oxt
Diffstat (limited to 'symlinks.install')
-rw-r--r-- | symlinks.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/symlinks.install b/symlinks.install new file mode 100644 index 000000000000..914e70555d43 --- /dev/null +++ b/symlinks.install @@ -0,0 +1,23 @@ +post_install() { + echo "Creating symlinks" + + ln -s /usr/share/mythes/th_el_GR_v2.idx /usr/share/myspell/dicts/th_el_GR_v2.idx + [ $? -ne 0 ] && return $? + + ln -s /usr/share/mythes/th_el_GR_v2.dat /usr/share/myspell/dicts/th_el_GR_v2.dat + [ $? -ne 0 ] && return $? + + return 0 +} + +post_remove() { + echo "Removing symlinks" + + rm /usr/share/myspell/dicts/th_el_GR_v2.idx + [ $? -ne 0 ] && return $? + + rm /usr/share/myspell/dicts/th_el_GR_v2.dat + [ $? -ne 0 ] && return $? + + return 0 +} |