haikuporter
haikuporter copied to clipboard
Haikuporter makes too many assumptions about directories existing
Skipping unpack of xz-5.6.1.tar.gz
Cleaning up temporary directories ...
cp: cannot stat '/system/settings/fonts': No such file or directory
workaround:
diff --git a/HaikuPorter/ShellScriptlets.py b/HaikuPorter/ShellScriptlets.py
index 66881f7..71eb9cf 100644
--- a/HaikuPorter/ShellScriptlets.py
+++ b/HaikuPorter/ShellScriptlets.py
@@ -874,7 +874,9 @@ if ! [ -e boot/system/settings/network ]; then
fi
# copy font settings
if ! [ -e boot/system/settings/fonts ]; then
- cp -r /system/settings/fonts boot/system/settings/
+ if [ -e /system/settings/fonts ]; then
+ cp -r /system/settings/fonts boot/system/settings/
+ fi
fi