[Slackbuilds-users] doinst.sh question

Ozan Türkyılmaz ozan.turkyilmaz at gmail.com
Thu Apr 14 11:22:23 UTC 2022


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doinst.sh
Type: application/x-shellscript
Size: 177 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220414/fd7e5457/attachment.bin>
-------------- next part --------------

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
( cd usr/lib64 ; rm -rf libgweather-3.so )
( cd usr/lib64 ; ln -sf libgweather-3.so.16 libgweather-3.so )
( cd usr/lib64 ; rm -rf libgweather-3.so.16 )
( cd usr/lib64 ; ln -sf libgweather-3.so.16.0.0 libgweather-3.so.16 )


More information about the SlackBuilds-users mailing list