From 8f9a0093eeb255323eb40b818640e6383a8384b6 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Thu, 29 Mar 2018 12:46:07 -0500 Subject: [PATCH] The following changes were made: * REPO added to Makefile * usher now uses /bin/sh * Removed TARGET from usher --- Makefile | 3 ++- SNAP/usher | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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)