summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimona2018-11-29 05:15:38 +0100
committersimona2018-11-29 05:15:38 +0100
commit6b8fe3875f17e9e4f22cb91e675a80505bc5b975 (patch)
treedd12f86358f4471970d4961bfebf01611b046bee
parent4ef454ee2f5ec82cd73cac46cfb920cf5720f2ea (diff)
downloadaur-6b8fe3875f17e9e4f22cb91e675a80505bc5b975.tar.gz
small man fix
-rw-r--r--.SRCINFO4
-rwxr-xr-xPKGBUILD4
-rw-r--r--macinstall.110
3 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f7a9e9804167..3faa56f8c64e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = simonascripts
pkgdesc = Bash unique command for mount image files (iso, vms, crypto, squashfs), detect pendrive device name, list all kernels, list all i/o schedulers, copy install files.
- pkgver = 0.0.15
+ pkgver = 0.0.16
pkgrel = 1
changelog = simonascripts.changelog
arch = any
@@ -39,7 +39,7 @@ pkgbase = simonascripts
md5sums = 0da0f06f52839ae85aa79d3e2a2bd069
md5sums = 895210bbf0e6c16c6df7437eb3489ac1
md5sums = 7e4b85c6508890c6f5c88b3d886206a6
- md5sums = b43048da4fc73e25202f2c12c4732259
+ md5sums = f0216369fd6e6f9856e56b6f1332a581
pkgname = simonascripts
diff --git a/PKGBUILD b/PKGBUILD
index 9517344c14a4..fd2f14953c65 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Simona <simona.pisano[at]gmail[dot]com>
pkgname=simonascripts
-pkgver=0.0.15
+pkgver=0.0.16
pkgrel=1
pkgdesc="Bash unique command for mount image files (iso, vms, crypto, squashfs), detect pendrive device name, list all kernels, list all i/o schedulers, copy install files."
@@ -44,7 +44,7 @@ md5sums=('3f5599c3588f01b625aa9feb0a0e8b99'
'0da0f06f52839ae85aa79d3e2a2bd069'
'895210bbf0e6c16c6df7437eb3489ac1'
'7e4b85c6508890c6f5c88b3d886206a6'
- 'b43048da4fc73e25202f2c12c4732259')
+ 'f0216369fd6e6f9856e56b6f1332a581')
package() {
cd "$srcdir"
diff --git a/macinstall.1 b/macinstall.1
index fcbdf0f1d115..fc2cba9e474d 100644
--- a/macinstall.1
+++ b/macinstall.1
@@ -54,12 +54,14 @@ one installation to another. This command help you to manage this.
Imagine you have your /etc/macinstall.d/yourpc* with all files/folder
like:
+
/etc/macinstall.d/yourpc1/etc/fstab
/etc/macinstall.d/yourpc1/boot/grug/grub.cfg
/etc/macinstall.d/yourpc1/etc/machine-id
/etc/macinstall.d/yourpc1/etc/hostname
/etc/macinstall.d/yourpc1/etc/ssh/host_*
/etc/macinstall.d/yourpc1/..
+
A second install like
/etc/macinstall.d/yourpc2/etc/fstab
/etc/macinstall.d/yourpc2/boot/grug/grub.cfg
@@ -67,9 +69,10 @@ A second install like
/etc/macinstall.d/yourpc2/etc/hostname
/etc/macinstall.d/yourpc2/etc/ssh/host_*
/etc/macinstall.d/yourpc2/etc/..
-A config file with sessione [yourpc1] and [yourpc2] (edit yourself
-macinstall.conf)
+
+A config file with sessione [yourpc1] and [yourpc2] (edit yourself macinstall.conf)
/etc/macinstall.d/macinstall.conf
+
with:
[yourpc1]
CopyFilesNum=5
@@ -82,6 +85,7 @@ with:
CopyDirectory1=/etc/ssh
WriteSemaphore=yes
AllowOnlyIfPreviousMacIs=yourpc2
+
and
[yourpc2]
CopyFilesNum=5
@@ -94,9 +98,11 @@ and
CopyDirectory1=/etc/ssh
WriteSemaphore=yes
AllowOnlyIfPreviousMacIs=yourpc1
+
And finally a command like to switch from one system to another
macinstall yourpc1 ---this-is-not-an-exercise
macinstall yourpc2 ---this-is-not-an-exercise
+
And a semaphore file like
/etc/macinstall.d/CurrentSystem-yourpc1
or