Update Travis.

This commit is contained in:
Markus F.X.J. Oberhumer
2017-05-04 17:35:56 +02:00
parent 61798d33f0
commit ddf48b45a5
3 changed files with 13 additions and 1 deletions
+9
View File
@@ -244,4 +244,13 @@ print_settings() {
##env | LC_ALL=C sort
}
fix_home_ssh_perms() {
if [[ -d ~/.ssh ]]; then
if [[ -x /usr/sbin/restorecon ]]; then
/usr/sbin/restorecon -v -R ~/.ssh || true
fi
chmod -c -R go-rwx ~/.ssh || true
fi
}
true