diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-02-17 03:08:41 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-02-17 03:08:41 +0300 |
commit | 8c4af6676268ffed40b0c46c8985dc9c6b34a5ce (patch) | |
tree | e67cc687cdefeaf5727e2ce9dbf5d0701f4ac396 /mods/mod_hakchi | |
parent | 2242dc595734cb5e93327cc488224a53813a2a6f (diff) |
Many fixes, release is soon
Diffstat (limited to 'mods/mod_hakchi')
-rw-r--r-- | mods/mod_hakchi/hakchi/script/transfer | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mods/mod_hakchi/hakchi/script/transfer b/mods/mod_hakchi/hakchi/script/transfer index 485d28ea..240bf41f 100644 --- a/mods/mod_hakchi/hakchi/script/transfer +++ b/mods/mod_hakchi/hakchi/script/transfer @@ -30,8 +30,10 @@ if [ -d "$transferpath/firmware" ]; then fi # if we're running modified firmware, mount it now -source_parts "$preinitpath/p????_*firmware*" -source_parts "$modpath/rootfs/etc/preinit.d/p????_*firmware*" +if [ -d "$preinitpath" ]; then + source_parts "$preinitpath/p????_*firmware*" + source_parts "$modpath/rootfs/etc/preinit.d/p????_*firmware*" +fi # now we can do install/repair if [ -d "$preinitpath" ]; then |