[Slackbuilds-users] doinst.sh question

marav marav8 at free.fr
Thu Apr 14 11:30:18 UTC 2022


Le 14/04/2022 à 13:22, Ozan Türkyılmaz a écrit :
> Hello All,
>
> I noticed a problem with doinst.sh files of my package (namely
> lingweather). I checked the file it is generated fine and will create
> the needed soft links however sometimes it won't create all the links.
> I noticed when evolution-data-server didnt link to the libgweather
> inside a test system (Thanks to Dave Woodfall for catching it).
>
> I am not sure what I really do wrong. I am attaching two doinst.sh
> files: doinst.sh for the one included with the buildscript and
> doinst.sh.package for the generated one. I don't see any errors while
> installing the package on my machine. My test system gave the below
> error doing installation:
>
> Executing install script for libgweather-40.0-x86_64-1_SBo.tgz.
> /bin/bash: line 11: syntax error: unexpected end of file
>
> Regards,
> Ozan
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives -https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ -https://slackbuilds.org/faq/
>
typo at the end of the file


+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
*+if*

must be "fi"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220414/706eb217/attachment.htm>


More information about the SlackBuilds-users mailing list