mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Merge pull request #4 from serghey-rodin/master
updates from master branch
This commit is contained in:
commit
5d10ea26d5
24 changed files with 98 additions and 82 deletions
|
@ -287,6 +287,13 @@ is_hash_valid() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Check if directory is a symlink
|
||||
is_dir_symlink() {
|
||||
if [[ -L "$1" ]]; then
|
||||
check_result $E_FORBIDEN "$1 directory is a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
# Get object value
|
||||
get_object_value() {
|
||||
object=$(grep "$2='$3'" $USER_DATA/$1.conf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue