aboutsummarylogtreecommitdiffstats
path: root/ninjaos-bootandnuke.install
blob: 92c327ea5aa9612c0928c8cfab143bd7edc59395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/bash
post_install() {
  ln -s /usr/share/ninjaos/shuriken_forge.sh /usr/bin/shuriken_forge
  package_help
}

post_upgrade() {
  pre_remove
  post_install
}

pre_remove(){
  rm -f /usr/bin/shuriken_forge
}

package_help() {
  cat << EOF
	=Ninja Boot and Nuke=
Spun off from Ninja OS(http://ninjaos.org) as a stand along package. This
package has both the mkinitcpio profile for NBAN, and the shuriken creation tool
.

* Build NBAN: mkinitcpio -p nban

* Build a shuriken: shuriken_forge </dev/sdX>

See shuriken_forge --help, man 7 nban, and man 1 shuriken_forge for more
information.

EOF
}