The following changes were made:
* REPO added to Makefile * usher now uses /bin/sh * Removed TARGET from usher
This commit is contained in:
3
Makefile
3
Makefile
@@ -11,10 +11,11 @@
|
|||||||
DEPENDS = glibc,ncurses
|
DEPENDS = glibc,ncurses
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = https://gitlab.com/procps-ng/procps
|
URL = https://gitlab.com/procps-ng/procps
|
||||||
|
REPO = core
|
||||||
BRIEF = Utilities providing process information
|
BRIEF = Utilities providing process information
|
||||||
DESC = procps is a set of command line and full-screen utilities that provide \
|
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
|
information out of the pseudo-filesystem most commonly located at /proc
|
||||||
SNAPVER = 3
|
SNAPVER = 4
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -7,8 +7,8 @@ case $1 in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
postinst)
|
postinst)
|
||||||
if [ ! -f ${TARGET}/etc/sysctl.conf ]; then
|
if [ ! -f /etc/sysctl.conf ]; then
|
||||||
cp ${TARGET}/usr/share/procps-ng/sysctl.conf ${TARGET}/etc/sysctl.conf
|
cp /usr/share/procps-ng/sysctl.conf /etc/sysctl.conf
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
prerm)
|
prerm)
|
||||||
|
|||||||
Reference in New Issue
Block a user