summaryrefslogtreecommitdiff
path: root/uninit.d/50vcs-uninit
diff options
context:
space:
mode:
Diffstat (limited to 'uninit.d/50vcs-uninit')
-rwxr-xr-xuninit.d/50vcs-uninit4
1 files changed, 2 insertions, 2 deletions
diff --git a/uninit.d/50vcs-uninit b/uninit.d/50vcs-uninit
index 519a725..d717196 100755
--- a/uninit.d/50vcs-uninit
+++ b/uninit.d/50vcs-uninit
@@ -21,9 +21,9 @@ if ! grep -q "$managed_by_etckeeper" "$file"; then
exit 0
else
realfile="$file"
- if type -p tempfile >/dev/null 2>&1; then
+ if which tempfile >/dev/null 2>&1; then
tempfile="tempfile"
- elif type -p mktemp >/dev/null 2>&1; then
+ elif which mktemp >/dev/null 2>&1; then
tempfile="mktemp"
else
echo "etckeeper warning: can't find tempfile or mktemp" >&2