Add install script

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent b38e3106
......@@ -12,6 +12,7 @@ depends=('python' 'papirus-maia-icon-theme' 'gksu-polkit' 'manjaro-hello')
makedepends=('git')
source=("$pkgname::git+$url.git")
md5sums=('SKIP')
install=manj.install
package() {
cd $srcdir
......
#Modify the manjaro-hello.desktop to execute this after manjaro-hello
post_install() {
sed -i -e "s|/usr/bin/manjaro-hello|/usr/bin/manjaro-hello && /usr/bin/manjaro-software-install-tool.py|Ig" /etc/skel/.config/autostart/manjaro-hello.desktop
sed -i -e "s|/usr/bin/manjaro-hello|/usr/bin/manjaro-hello && /usr/bin/manjaro-software-install-tool.py|Ig" /usr/share/applications/manjaro-hello.desktop
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment