diff options
| author | nemsia <nemsia@nemsia.org> | 2017-05-07 23:22:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-07 23:22:41 +0200 |
| commit | 3d3913686526f4495cca6c0234ea06faf46b1bfe (patch) | |
| tree | 7886531a5f036eceb5fdc847078fd296a4f35e67 /scripts/remove | |
| parent | f12507fbf0e8fd46346d8c25d64796df58acf37b (diff) | |
| download | mastodon_ynh-3d3913686526f4495cca6c0234ea06faf46b1bfe.tar.gz mastodon_ynh-3d3913686526f4495cca6c0234ea06faf46b1bfe.tar.bz2 mastodon_ynh-3d3913686526f4495cca6c0234ea06faf46b1bfe.zip | |
Sync (#11)
* [enh] Switch to tagged release
* [enh] Switch to tagged release on upgrade
* [fix] Restore pg dump
Restore pg dump with mastodon user.
* Change version on manifest
* [fix] Change rm dump to ynh_secure_remove
* [fix] Upgrade from 1.3.3
Fix error: Your local changes to the following files would be overwritten by merge:
.babelrc
.dockerignore
.editorconfig
.env.production.sample
.gitignore
.rubocop.yml
.travis.yml
Capfile
Dockerfile
README.md
Vagrantfile
....
* [fix] Owner of live
* [fix] Reinstall dependencies on restore
* Return to home
* [fix] Jenkins upgrade error
* Check .fonctions
* Remove unneeded comment
* Add apt lists to backup
* Change .list name on backup
* Copy Apt .lists on restore
* version 1.3.3 on manifest
* Remove admin instructions + TODO
Diffstat (limited to 'scripts/remove')
| -rw-r--r-- | scripts/remove | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/remove b/scripts/remove index 373d028..1b2c405 100644 --- a/scripts/remove +++ b/scripts/remove @@ -3,6 +3,12 @@ # Exit on command errors and treat unset variables as an error set -u +if [ ! -e .fonctions ]; then + # Get file fonction if not been to the current directory + sudo cp ../settings/scripts/.fonctions ./.fonctions + sudo chmod a+rx .fonctions +fi + source .fonctions # Loads the generic functions usually used in the script # Source app helpers source /usr/share/yunohost/helpers |
