diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-19 15:40:55 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-19 15:40:55 -0400 |
commit | 9234bcc7068a456cbf009988fd798c5fd90af0b9 (patch) | |
tree | 0db8f1d9e3718d8b4a283677ff8bf5b81a0e2f18 /old-school | |
parent | ceee310706bfc18d9ef5850ecc8a956ea6c83cee (diff) |
offer to install even when disk space is below cdrom size
Diffstat (limited to 'old-school')
-rwxr-xr-x | old-school/grok-block | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/old-school/grok-block b/old-school/grok-block index a93cef0..62b063f 100755 --- a/old-school/grok-block +++ b/old-school/grok-block | |||
@@ -145,6 +145,8 @@ grok_block() | |||
145 | addmenu_makeroot "$DEVNAME" "${mountpoint}/samizdat.$N" "$((cdrommegs * 2))" 1 | 145 | addmenu_makeroot "$DEVNAME" "${mountpoint}/samizdat.$N" "$((cdrommegs * 2))" 1 |
146 | elif [ "$freemegs" -ge "$cdrommegs" ]; then | 146 | elif [ "$freemegs" -ge "$cdrommegs" ]; then |
147 | addmenu_makeroot "$DEVNAME" "${mountpoint}/samizdat.$N" "$((freemegs / 2))" 0 | 147 | addmenu_makeroot "$DEVNAME" "${mountpoint}/samizdat.$N" "$((freemegs / 2))" 0 |
148 | else | ||
149 | addmenu_makeroot "$DEVNAME" "${mountpoint}/samizdat.$N" 256 0 | ||
148 | fi | 150 | fi |
149 | fi | 151 | fi |
150 | 152 | ||