Welcome back to Slackware! On Sat, 2011-06-18 at 09:36:02 +0200, Nicolas Kovacs wrote: > 3) Now here comes the point where I reach my limit of competence. > I'm trying to package my default user profile. I'm writing a > SlackBuild script for this, and right now, I wonder how to define > that symlink. I know how to go about it with a simple file. Say I > have a 'gtkrc' file in the same directory as the SlackBuild script, > the solution would be something like this: > > mkdir -p $PKG/etc/skel > cat $CWD/gtkrc > $PKG/etc/skel/.gtkrc-2.0 > chmod 0644 $PKG/etc/skel/.gtkrc-2.0 > > But how could I have something similar with the symlink?
Wouldn't something like this work? mkdir -p $PKG/etc/skel ln -sf /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc $PKG/etc/skel/.gtkrc-2.0 And don't forget to add -l y to makepkg, so that it will add all symlinks to doinst.sh script. -- Audrius Kažukauskas
pgpAVnsh788D4.pgp
Description: PGP signature
_______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/