Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Automatically copy a file to a different location after package install/update
Date: Tue, 10 May 2016 08:53:19
Message-Id: 6307920.vm2KqvTLcz@andromeda
1 Hi all,
2
3 I have accounts configured in LDAP (OpenLDAP)
4 And a FTP-server on a different host.
5
6 The FTP server succesfully authenticates against OpenLDAP, using a schema
7 provided by the FTP server ebuild.
8
9 Currently, I have to manually remember to copy the schema across when I update
10 the ftp-server. Is there a way to set up a little script that will
11 automatically copy the schema file to a different location after a successful
12 install/update without having to patch the ebuild-files. (manually copying is
13 less error-prone)
14
15 Many thanks,
16
17 Joost

Replies