Skip to content

Commit

Permalink
Creating directories by copying files into them *shrug*
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain M Conochie committed Apr 12, 2024
1 parent 9227667 commit a7f347b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
packdir = $(localstatedir)/lib/cmdb
scriptdir = $(packdir)/scripts
webdir = $(packdir)/web
tempodir = $(packdir)/tmp
hostdir = $(packdir)/hosts
script_DATA = disable_install.php kick-ntp.sh kick-postfix.sh log.sh motd.sh\
ldap-auth.sh firstboot.sh xymon-client.sh kick-final.sh\
apt-nagios.sh kick-nagios.sh hobbit-patch.sh deploy-patch.sh\
kick-auth.sh xymon-setup.sh kick-ldap-sudo.sh\
bb-mysql.pl deploy-mysql.sh lspci.sh sssd-auth.sh
bin_SCRIPTS = cmdb.sh

install-exec-hook:
mkdir $(packdir)/{hosts,web,tmp}
web_DATA = web/README
tempo_DATA = tmp/README
host_DATA = hosts/README
2 changes: 2 additions & 0 deletions scripts/hosts/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This directory will hold the scripts created by cbc that will be run as part
of the installation
1 change: 1 addition & 0 deletions scripts/tmp/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory will hold temporary files
1 change: 1 addition & 0 deletions scripts/web/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory will hold the preseed and kickstart files

0 comments on commit a7f347b

Please sign in to comment.