diff --git a/packaging/archlinux/PKGBUILD b/packaging/archlinux/PKGBUILD index 73a549b..6d52feb 100644 --- a/packaging/archlinux/PKGBUILD +++ b/packaging/archlinux/PKGBUILD @@ -35,5 +35,7 @@ build() { package() { DESTDIR="$pkgdir" cmake --install build # create forwarding script - echo "cd /opt/linux-wallpaperengine; ./linux-wallpaperengine \$*" > /usr/bin/linux-wallpaperengine + echo "#!/bin/bash" > /usr/bin/linux-wallpaperengine + echo "cd /opt/linux-wallpaperengine; ./linux-wallpaperengine \$*" >> /usr/bin/linux-wallpaperengine + chmod +x /usr/bin/linux-wallpaperengine }