Create kickstart.file.link that will make sure a location is a link
This commit is contained in:
parent
e6ba63f470
commit
7b7ddef868
4
kickstart/recipes/kickstart/file.sh
Normal file
4
kickstart/recipes/kickstart/file.sh
Normal file
@ -0,0 +1,4 @@
|
||||
kickstart.file.link() {
|
||||
rm -rf $2 2>/dev/null
|
||||
ln -s $1 $2
|
||||
}
|
Loading…
Reference in New Issue
Block a user