diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2017-04-09 22:23:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-13 07:27:48 +0700 |
commit | 6dc76040112fbffb870f24554bbfe19f92184626 (patch) | |
tree | af4916b9f158255251b25471be8cdbb7b3b1677b /network/cacti/cacti.SlackBuild | |
parent | 32593a74ac05cf2dcab706557748f03a70db0e7e (diff) | |
download | slackbuilds-6dc76040112fbffb870f24554bbfe19f92184626.tar.gz |
network/cacti: Updated for version 1.1.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/cacti/cacti.SlackBuild')
-rw-r--r-- | network/cacti/cacti.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/network/cacti/cacti.SlackBuild b/network/cacti/cacti.SlackBuild index 81d3d19708..dcb48160ca 100644 --- a/network/cacti/cacti.SlackBuild +++ b/network/cacti/cacti.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cacti -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.1.2} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,7 +55,7 @@ find -L . \ mkdir -p $PKG/$DOCROOT/$PRGNAM cp -a \ - *.php include resource lib rra images cli scripts install \ + *.php cache cli formats images include install lib locales log mibs plugins resource rra scripts \ $PKG/$DOCROOT/$PRGNAM/ chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM @@ -66,8 +66,9 @@ ln -sf /etc/$PRGNAM/config.php $PKG/$DOCROOT/$PRGNAM/include/config.php chmod 640 $PKG/etc/$PRGNAM/config.php.new # Move log file & create symbolic link -mkdir -p $PKG/var/log/$PRGNAM -mv log/cacti.log $PKG/var/log/$PRGNAM/cacti.log.new +mkdir -p $PKG/var/log +mv $PKG/$DOCROOT/$PRGNAM/log $PKG/var/log/$PRGNAM +mv $PKG/var/log/$PRGNAM/cacti.log $PKG/var/log/$PRGNAM/cacti.log.new ln -sf /var/log/$PRGNAM $PKG/$DOCROOT/$PRGNAM/log # Copy docs & create symbolic link |