mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Remove udisks-glue from conf_regen and services
udisks-glue has been removed from recommended packages by d6b0c357
since
it's no longer maintained - and also out-dated; the conf_regen hook refers
to an unavailable service.
Note that even it's not really used in YunoHost yet, it has been replaced
by udisks2 as suggested package.
This commit is contained in:
parent
6a64386127
commit
82185b86d5
3 changed files with 1 additions and 30 deletions
|
@ -1,20 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
force=$1
|
|
||||||
|
|
||||||
function safe_copy () {
|
|
||||||
if [[ "$force" == "True" ]]; then
|
|
||||||
sudo yunohost service safecopy \
|
|
||||||
-s udisks-glue $1 $2 --force
|
|
||||||
else
|
|
||||||
sudo yunohost service safecopy \
|
|
||||||
-s udisks-glue $1 $2
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
cd /usr/share/yunohost/templates/udisks-glue
|
|
||||||
|
|
||||||
if [[ "$(safe_copy udisks-glue.conf /etc/udisks-glue.conf | tail -n1)" == "True" ]]; then
|
|
||||||
sudo service udisks-glue restart
|
|
||||||
fi
|
|
|
@ -1,9 +0,0 @@
|
||||||
filter disks {
|
|
||||||
optical = false
|
|
||||||
partition_table = false
|
|
||||||
usage = filesystem
|
|
||||||
}
|
|
||||||
match disks {
|
|
||||||
automount=true
|
|
||||||
automount_options= { sync, noatime, "dmask=0", "fmask=0" }
|
|
||||||
}
|
|
|
@ -47,5 +47,5 @@ nsswitch:
|
||||||
spamassassin:
|
spamassassin:
|
||||||
status: service
|
status: service
|
||||||
log: /var/log/mail.log
|
log: /var/log/mail.log
|
||||||
udisks-glue:
|
udisks2:
|
||||||
status: service
|
status: service
|
||||||
|
|
Loading…
Add table
Reference in a new issue