mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-21 05:43:20 -07:00
Make stat in autoupdate actually do something
This commit is contained in:
parent
0873593102
commit
73eac4f919
1 changed files with 2 additions and 2 deletions
|
@ -333,8 +333,8 @@ if [ "${AUTOUPDATE}" = "yes" ]; then
|
|||
# just run in "dumb" mode without trying to restore permissions
|
||||
declare -A FILE_OWNER FILE_PERMS && \
|
||||
for filename in $PLEXUPDATE_FILES; do
|
||||
FILE_OWNER[$filename]=$(stat -c "%u:%g")
|
||||
FILE_PERMS[$filename]=$(stat -c "%a")
|
||||
FILE_OWNER[$filename]=$(stat -c "%u:%g" "$filename")
|
||||
FILE_PERMS[$filename]=$(stat -c "%a" "$filename")
|
||||
done
|
||||
|
||||
if ! git merge --quiet FETCH_HEAD; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue