[Slackbuilds-users] Introduction & questions about link creation for the 'oxygen-gtk' theme
Audrius Kažukauskas
audrius at neutrino.lt
Sat Jun 18 09:51:35 UTC 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110618/ce15fdc0/attachment.asc>
More information about the SlackBuilds-users
mailing list