The following changes were made:
* Added REPO to Makefile * usher now uses /bin/sh * Removed TARGET from usher
This commit is contained in:
10
SNAP/usher
10
SNAP/usher
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
@@ -7,11 +7,11 @@ case $1 in
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
install -d -m 755 ${TARGET}/etc/init.d
|
||||
install -d -m 755 ${TARGET}/etc/rc{{0..6},S}.d
|
||||
install -d -m 755 /etc/init.d
|
||||
install -d -m 755 /etc/rc{{0..6},S}.d
|
||||
|
||||
if [ ! -f ${TARGET}/etc/inittab ]; then
|
||||
install -m 644 ${TARGET}/usr/share/sysvinit/inittab ${TARGET}/etc/inittab
|
||||
if [ ! -f /etc/inittab ]; then
|
||||
install -m 644 /usr/share/sysvinit/inittab /etc/inittab
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
|
||||
Reference in New Issue
Block a user