mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
remove deprecated ynh_mkdir_tmp
This commit is contained in:
parent
73be54bcb5
commit
7e18bbd59f
2 changed files with 4 additions and 2 deletions
|
@ -44,7 +44,8 @@ ynh_mysql_create_db "$db_name" "$db_user" "$db_pwd"
|
|||
ynh_app_setting_set "$app" mysqlpwd "$db_pwd"
|
||||
|
||||
# Copy files to the right place
|
||||
TMPDIR=$(ynh_mkdir_tmp)
|
||||
TMPDIR=$(mktemp -d)
|
||||
sudo chmod 655 "$TMPDIR"
|
||||
extract_freshrss "$TMPDIR"
|
||||
|
||||
$TMPDIR/cli/do-install.php --default_user $admin_user --auth_type http_auth --environment production --base_url $domain/$path --title FreshRSS --api_enabled --db-type mysql --db-host localhost --db-user $db_user --db-password $db_pwd --db-base $db_name
|
||||
|
|
|
@ -23,7 +23,8 @@ if [ -f $FINAL_PATH/data/user.php.dist ]; then
|
|||
fi
|
||||
|
||||
# Create tmp directory and install app inside
|
||||
TMPDIR=$(ynh_mkdir_tmp)
|
||||
TMPDIR=$(mktemp -d)
|
||||
sudo chmod 655 "$TMPDIR"
|
||||
extract_freshrss "$TMPDIR"
|
||||
|
||||
# Restore config
|
||||
|
|
Loading…
Reference in a new issue