diff --git a/Makefile b/Makefile index c6ff7e1..5b2ded1 100644 --- a/Makefile +++ b/Makefile @@ -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 = 4 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') diff --git a/SNAP/usher b/SNAP/usher index 6793531..6e3fede 100755 --- a/SNAP/usher +++ b/SNAP/usher @@ -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)