Commit 73a966bc authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files

upd README

parent e933e92b
# Author: Bernhard Landauer <bernhard@manjaro.org>
pkgname=manjaro-chrootbuild
pkgver=r198.gc87d1c4
pkgver=r199.ge933e92
pkgrel=1
pkgdesc="Build packages and buildlists in a chroot filesystem."
arch=('any')
......
......@@ -44,7 +44,8 @@ Usage: prepare_chroot [options]"
arm-unstable/arm-testing/arm-stable)
default: unstable / arm-unstable)
-c Create clean chroot filesystem
-k Keep Chroot filesystem mounted
-k <repo> Use custom repo (kde-unstable/mobile)
-m Keep Chroot filesystem mounted
-u Unmount Chroot filesystem cleanly
```
......
......@@ -134,7 +134,7 @@ prepare_chroot() {
if [ -e $1/.lock ]; then
err_choice "Chroot is busy. Force unmount? [y/N]"
read choice
if [[ "$choice" = "y" 2>/dev/null ]]; then
if [[ "$choice" = "y" ]]; then
cleanup "Re-mounting chroot filesystem."
else
exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment