diff options
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 |