mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
Fix
This commit is contained in:
parent
48134b0ac9
commit
956f6e043f
5 changed files with 11 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
|||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>YOURLS</title>
|
||||
<title>YOURLS — Your Own URL Shortener</title>
|
||||
<link rel="stylesheet" href="css/style.css"/>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -2,10 +2,9 @@ YOURLS stands for Your Own URL Shortener. It is a small set of PHP scripts that
|
|||
|
||||
### YOURLS Features
|
||||
|
||||
- Free and open-source software,
|
||||
- Private (your links only) or Public (everybody can create short links, fine for an intranet),
|
||||
- Terrific Plugin architecture and dozens of plugins to easily implement new features,
|
||||
- Handy bookmarklets to easily shorten and share links,
|
||||
- Awesome stats: historical click reports, referrers tracking, visitors geo-location,
|
||||
- Developer API to integrate YOURLS into other applications,
|
||||
- Sample files to create your own public interface and more !
|
||||
- Private (your links only) or Public (everybody can create short links, fine for an intranet)
|
||||
- Dozens of plugins to easily implement new features
|
||||
- Handy bookmarklets to easily shorten and share links
|
||||
- Awesome stats: historical click reports, referrers tracking, visitors geo-location
|
||||
- Developer API to integrate YOURLS into other applications
|
||||
- Sample files to create your own public interface
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
},
|
||||
"version": "1.8.2~ynh1",
|
||||
"url": "https://yourls.org/",
|
||||
"license": "MIT",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
"website": "https://yourls.org/",
|
||||
|
@ -16,6 +15,7 @@
|
|||
"admindoc": "https://github.com/YOURLS/YOURLS/wiki",
|
||||
"code": "https://github.com/YOURLS/YOURLS"
|
||||
},
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
"name": "Anmol Sharma",
|
||||
"email": "anmol@datamol.org"
|
||||
|
@ -31,7 +31,7 @@
|
|||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.3-fpm",
|
||||
"php7.4-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
|
|
@ -71,7 +71,7 @@ fi
|
|||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating NGINX web server configuration..." --time --weight=1
|
||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
||||
|
||||
nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
#=================================================
|
||||
# RESTORE THE APP MAIN DIR
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring YOURLS main directory..." --weight=3
|
||||
ynh_script_progression --message="Restoring the app main directory..." --weight=3
|
||||
|
||||
ynh_restore_file --origin_path="$final_path"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue