Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FUSS
fuss-fucc
Commits
dcf3e1a7
Commit
dcf3e1a7
authored
Aug 30, 2019
by
Paolo Dongilli
Browse files
added copy of required file in debian/postinst
parent
c902db39
Pipeline
#42
passed with stages
in 16 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debian/postinst
View file @
dcf3e1a7
...
...
@@ -50,11 +50,13 @@ sed -i "s+/srv/clonezilla+$SFTPDIR+g" /srv/tftp/pxelinux.cfg/default
mkdir
-p
$SFTPDIR
cp
-R
/usr/share/fuss-fucc/clonezilla/clientScripts
${
SFTPDIR
}
test
-e
${
SFTPDIR
}
/computerList.txt
||
cp
/usr/share/fuss-fucc/clonezilla/computerList.txt
${
SFTPDIR
}
cp
/usr/share/fuss-fucc/clonezilla/script
${
SFTPDIR
}
chown
-R
clonezilla.
${
SFTPDIR
}
/clientScripts
chmod
-R
770
${
SFTPDIR
}
/clientScripts
chown
clonezilla.
${
SFTPDIR
}
/computerList.txt
chown
clonezilla.
${
SFTPDIR
}
/script
chmod
770
${
SFTPDIR
}
/script
mkdir
-p
/etc/fuss-fucc
echo
$SFTPDIR
>
/etc/fuss-fucc/sftpdir
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment