mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-27 17:20:59 +02:00
magic-pax: remove write check now that we support non-root
This commit is contained in:
parent
569fdbd933
commit
0077cb3866
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ if [ -z "${1}" ] || [ -z "${2}" ]; then
|
|||
fi
|
||||
|
||||
#check target file
|
||||
if [ ! -w "${1}" ]; then
|
||||
printf "Target file ${1} is missing or we do not have write permissions...exiting.\n"
|
||||
if [ ! -e "${1}" ]; then
|
||||
printf "Target file ${1} is missing...exiting.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue