mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-09-27 20:29:01 +00:00
parent
e45c005c88
commit
06039a9e47
2
tomb
2
tomb
@ -2192,7 +2192,7 @@ _update_control_file() {
|
|||||||
# $1 = path to control file
|
# $1 = path to control file
|
||||||
# $2 = contents
|
# $2 = contents
|
||||||
[[ "$2" = "" ]] && return 1
|
[[ "$2" = "" ]] && return 1
|
||||||
[[ -r "$1" ]] && rm -f "$1"
|
_sudo touch "$1"
|
||||||
print "$2" > "$1"
|
print "$2" > "$1"
|
||||||
_sudo chown ${_UID}:${_GID} "$1"
|
_sudo chown ${_UID}:${_GID} "$1"
|
||||||
_verbose "updated control file $1 = $2"
|
_verbose "updated control file $1 = $2"
|
||||||
|
Loading…
Reference in New Issue
Block a user