smeserver-dokuwiki/createlinks

68 lines
2.5 KiB
Plaintext
Raw Normal View History

#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/dokuwiki/local.protected.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/dokuwiki/local.protected.php/template-end");
templates2events("/etc/dokuwiki/local.protected.php", qw(webapps-update bootstrap-console-save smeserver-dokuwiki-update));
use esmith::Build::Backup qw(:all);
backup_includes("smeserver-dokuwiki", qw(
/etc/dokuwiki/acl.auth.php
/etc/dokuwiki/acronyms.conf
/etc/dokuwiki/entities.conf
/etc/dokuwiki/interwiki.conf
/etc/dokuwiki/local.php
/etc/dokuwiki/plugins.local.php
/etc/dokuwiki/scheme.conf
/var/lib/dokuwiki/data
/usr/share/dokuwiki/lib/plugins
));
# data temp dir, plugins from rpm dokuwiki-plugins and dokuwiki
backup_excludes("smeserver-dokuwiki", qw(
/var/lib/dokuwiki/data/cache
/var/lib/dokuwiki/data/locks
/var/lib/dokuwiki/data/tmp
/usr/share/dokuwiki/lib/plugins/acl
/usr/share/dokuwiki/lib/plugins/action.php
/usr/share/dokuwiki/lib/plugins/admin.php
/usr/share/dokuwiki/lib/plugins/authad
/usr/share/dokuwiki/lib/plugins/authhttpldap
/usr/share/dokuwiki/lib/plugins/authldap
/usr/share/dokuwiki/lib/plugins/authpdo
/usr/share/dokuwiki/lib/plugins/auth.php
/usr/share/dokuwiki/lib/plugins/authplain
/usr/share/dokuwiki/lib/plugins/cli.php
/usr/share/dokuwiki/lib/plugins/config
/usr/share/dokuwiki/lib/plugins/extension
/usr/share/dokuwiki/lib/plugins/index.html
/usr/share/dokuwiki/lib/plugins/info
/usr/share/dokuwiki/lib/plugins/popularity
/usr/share/dokuwiki/lib/plugins/remote.php
/usr/share/dokuwiki/lib/plugins/revert
/usr/share/dokuwiki/lib/plugins/safefnrecode
/usr/share/dokuwiki/lib/plugins/styling
/usr/share/dokuwiki/lib/plugins/syntax.php
/usr/share/dokuwiki/lib/plugins/usermanager
/usr/share/dokuwiki/lib/plugins/changes
/usr/share/dokuwiki/lib/plugins/ckgedit
/usr/share/dokuwiki/lib/plugins/color
/usr/share/dokuwiki/lib/plugins/dw2pdf
/usr/share/dokuwiki/lib/plugins/edittable
/usr/share/dokuwiki/lib/plugins/encryptedpasswords
/usr/share/dokuwiki/lib/plugins/hidden
/usr/share/dokuwiki/lib/plugins/howhard
/usr/share/dokuwiki/lib/plugins/loglog
/usr/share/dokuwiki/lib/plugins/note
/usr/share/dokuwiki/lib/plugins/nspages
/usr/share/dokuwiki/lib/plugins/odt
/usr/share/dokuwiki/lib/plugins/pagelist
/usr/share/dokuwiki/lib/plugins/pagemove
/usr/share/dokuwiki/lib/plugins/sortablejs
/usr/share/dokuwiki/lib/plugins/tag
/usr/share/dokuwiki/lib/plugins/todo
));
#