fix(yafti): create yafti directory before attempting copy (#299)
This commit is contained in:
parent
7543053424
commit
af2db664ac
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ MODULE_DIRECTORY="${MODULE_DIRECTORY:-"/tmp/modules"}"
|
|||
|
||||
FIRSTBOOT_DATA="/usr/share/ublue-os/firstboot"
|
||||
|
||||
mkdir -p "$FIRSTBOOT_DATA/launcher/"
|
||||
|
||||
# doesn't overwrite user's yafti.yml (ignores error)
|
||||
cp -n "$MODULE_DIRECTORY/yafti/yafti.yml" "$FIRSTBOOT_DATA/yafti.yml" || true
|
||||
cp -r "$MODULE_DIRECTORY/yafti/launcher/" "$FIRSTBOOT_DATA/launcher/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue