corrections

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent 9d6f2557
#!/usr/bin/make -f
PREFIX = /usr
DPATH = $(DESTDIR)/$(PREFIX)/bin
DAPP = $(DESTDIR)/$(PREFIX)/share/applications
DPATH = $(DESTDIR)$(PREFIX)/bin
DAPP = $(DESTDIR)$(PREFIX)/share/applications
DEL = rm -f
INSTALLD = install -Dm755 -t
......
......@@ -15,6 +15,6 @@ md5sums=('SKIP')
install=manj.install
package() {
cd $srcdir
cd $srcdir/$pkgname
make DESTDIR="${pkgdir}" install
}
#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
echo "Add to manjaro-hello.desktop"
sed '7d' /etc/skel/.config/autostart/manjaro-hello.desktop
echo "Exec='/usr/bin/manjaro-hello && /usr/bin/manjaro-software-install-tool.py'" >> /etc/skel/.config/autostart/manjaro-hello.desktop
sed '7d' /usr/share/applications/manjaro-hello.desktop
echo "Exec='/usr/bin/manjaro-hello && /usr/bin/manjaro-software-install-tool.py'" >> /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