Hello everyone.
I don’t know if this is the right place to ask my question. (I apologize if it isn’t).
But before anyone asks why, here’s the background:
I use XFCE as my desktop manager, but for the file manager I really like Caja and never feel confortable with Thunar.
I’d like to be able to “open terminal here” in Caja. So I create a symbolic link:
ln -s /usr/bin/xfce4-terminal → /usr/bin/mate-terminal
This works very well. No problems here.
I decided to create a PKGBUILD that takes care of this for me
My PKGBUILD compiles fine but the post_install trigger is never called.
Here’s the code:
PKGBUILD:
pkgname=caja-xfce-terminal
pkgver=0.1
pkgrel=1
pkgdesc=""
arch=(any)
url=""
license=('NONE')
groups=("★ seigneurfuo: Paquets persos")
depends=('caja' 'xfce4-terminal')
provides=('mate-terminal')
source=("$pkgname.install")
md5sums=('SKIP')
install=$pkgname.install
caja-xfce-terminal.install:
post_install() {
echo "Creating symbolic link: /usr/bin/xfce4-terminal -> /usr/bin/mate-terminal"
ln -s /usr/bin/xfce4-terminal /usr/bin/mate-terminal
}
Does anyone have any ideas?
Thanks a lot.