Skip to content

Commit 2976365

Browse files
authored
Merge pull request #598 from Unpackerr/dn2_fix_lnx_inst
fix after-install script
2 parents bdd8f87 + cd44e82 commit 2976365

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

init/systemd/after-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
OS="$(uname -s)"
77

88
logdir='/var/log/unpackerr'
9-
[[ "$(uname -s)" = "Linux" ]] || logdir='/usr/local/var/log/unpackerr'
9+
[ "${OS}" = "Linux" ] || logdir='/usr/local/var/log/unpackerr'
1010

1111
if [ ! -d "${logdir}" ]; then
1212
mkdir "${logdir}"

init/systemd/before-remove.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
# This file is used by rpm and deb packages. FPM use.
44

0 commit comments

Comments
 (0)