Install imagemagick
This commit is contained in:
parent
0895756658
commit
26a7c88ddf
@ -136,17 +136,17 @@ function check_config {
|
|||||||
# backup is important and should be checked
|
# backup is important and should be checked
|
||||||
if [ -n "$backup_device_name" ]
|
if [ -n "$backup_device_name" ]
|
||||||
then
|
then
|
||||||
device_mounted=0
|
if [ ! -d "$backup_mount_point" ]
|
||||||
|
then
|
||||||
|
mkdir "$backup_mount_point"
|
||||||
|
fi
|
||||||
|
device_mounted=0
|
||||||
if fdisk -l | grep -i "$backup_device_name.*linux"
|
if fdisk -l | grep -i "$backup_device_name.*linux"
|
||||||
then
|
then
|
||||||
print_info "ok - filesystem of external device is linux"
|
print_info "ok - filesystem of external device is linux"
|
||||||
if [ -n "$backup_device_pass" ]
|
if [ -n "$backup_device_pass" ]
|
||||||
then
|
then
|
||||||
echo "$backup_device_pass" | cryptsetup luksOpen $backup_device_name cryptobackup
|
echo "$backup_device_pass" | cryptsetup luksOpen $backup_device_name cryptobackup
|
||||||
if [ ! -d /media/hubzilla_backup ]
|
|
||||||
then
|
|
||||||
mkdir /media/hubzilla_backup
|
|
||||||
fi
|
|
||||||
if mount /dev/mapper/cryptobackup /media/hubzilla_backup
|
if mount /dev/mapper/cryptobackup /media/hubzilla_backup
|
||||||
then
|
then
|
||||||
device_mounted=1
|
device_mounted=1
|
||||||
@ -246,6 +246,11 @@ function install_apache {
|
|||||||
nocheck_install "apache2 apache2-utils"
|
nocheck_install "apache2 apache2-utils"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_imagemagick {
|
||||||
|
print_info "installing imagemagick..."
|
||||||
|
nocheck_install "imagemagick"
|
||||||
|
}
|
||||||
|
|
||||||
function install_curl {
|
function install_curl {
|
||||||
print_info "installing curl..."
|
print_info "installing curl..."
|
||||||
nocheck_install "curl"
|
nocheck_install "curl"
|
||||||
@ -801,6 +806,7 @@ update_upgrade
|
|||||||
install_curl
|
install_curl
|
||||||
install_sendmail
|
install_sendmail
|
||||||
install_apache
|
install_apache
|
||||||
|
install_imagemagick
|
||||||
install_php
|
install_php
|
||||||
install_mysql
|
install_mysql
|
||||||
install_phpmyadmin
|
install_phpmyadmin
|
||||||
|
Reference in New Issue
Block a user