[lintian] fix script-not-executable for backup/restore hooks

This commit is contained in:
Julien Malik 2015-09-09 19:12:01 +02:00
parent 4a4f106f15
commit ce4c54ad88
20 changed files with 0 additions and 40 deletions

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/ldap"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/ssh"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/mysql"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/ssowat"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/home"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/yunohost"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/mail"
sudo cp -a /var/mail/. $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/xmpp"
mkdir -p $backup_dir/{etc,var}

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/nginx"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/cron"
mkdir -p $backup_dir

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/ldap"
if [ -z "$2" ]; then

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/ssh"
sudo cp -a $backup_dir/. /etc/ssh

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/mysql"
mysqlpwd=$(sudo cat /etc/yunohost/mysql)

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/ssowat"
sudo cp -a $backup_dir/. /etc/ssowat

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/home"
sudo cp -a $backup_dir/. /home

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/yunohost"
sudo cp -a $backup_dir/. /etc/yunohost

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/mail"
sudo cp -a $backup_dir/. /var/mail

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/xmpp"
sudo cp -a $backup_dir/etc/. /etc/metronome

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/nginx"
sudo cp -a $backup_dir/. /etc/nginx/conf.d

View file

@ -1,5 +1,3 @@
#!/bin/bash
backup_dir="$1/cron"
sudo cp -a $backup_dir/. /etc/cron.d