2 Commits

Author SHA1 Message Date
Jay Larson
cefdb9f6f6 Removed pidof in favor of sysvinit killall5 pidof 2018-05-26 15:16:43 -05:00
Jay Larson
8f9a0093ee The following changes were made:
* REPO added to Makefile
  * usher now uses /bin/sh
  * Removed TARGET from usher
2018-03-29 12:46:07 -05:00
2 changed files with 6 additions and 4 deletions

View File

@@ -11,10 +11,11 @@
DEPENDS = glibc,ncurses
ARCH = x86_64
URL = https://gitlab.com/procps-ng/procps
REPO = core
BRIEF = Utilities providing process information
DESC = procps is a set of command line and full-screen utilities that provide \
information out of the pseudo-filesystem most commonly located at /proc
SNAPVER = 3
SNAPVER = 5
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -50,6 +51,7 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
--libdir=/usr/lib \
--disable-static \
--disable-kill \
--disable-pidof \
--build=x86_64-snap-linux-gnu \
--host=x86_64-snap-linux-gnu \
--target=x86_64-snap-linux-gnu

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e
@@ -7,8 +7,8 @@ case $1 in
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/sysctl.conf ]; then
cp ${TARGET}/usr/share/procps-ng/sysctl.conf ${TARGET}/etc/sysctl.conf
if [ ! -f /etc/sysctl.conf ]; then
cp /usr/share/procps-ng/sysctl.conf /etc/sysctl.conf
fi
;;
prerm)