You need to sign in or sign up before continuing.
duplicati.sh 542 Bytes
Newer Older
Vitaly Lipatov's avatar
Vitaly Lipatov committed
1 2
#!/bin/sh -x

Vitaly Lipatov's avatar
Vitaly Lipatov committed
3
# It will be run with two args: buildroot spec
Vitaly Lipatov's avatar
Vitaly Lipatov committed
4 5 6
BUILDROOT="$1"
SPEC="$2"

7 8 9
PREINSTALL_PACKAGES="rpm-build-python3 mono-full libgtk-sharp2"


10 11 12
. $(dirname $0)/common.sh

add_requires mono-full libgtk-sharp2
13

14 15
# set_autoreq 'yes,nomonolib,nomono'
add_libs_requires
16 17 18 19

subst 's|env python.*|env python3|' $BUILDROOT/usr/lib/duplicati/utility-scripts/DuplicatiVerify.py
subst 's|/usr/bin/bash|/bin/bash|' $BUILDROOT/usr/lib/duplicati/{lvm-scripts/*.sh,run-script-example.sh} $BUILDROOT/usr/bin/{duplicati-server,duplicati-cli,duplicati}