File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,11 @@ get_custom_repo() {
11
11
}
12
12
13
13
install_packages_from=" $1 "
14
+ samba_version_suffix=" $2 "
14
15
case " ${install_packages_from} " in
15
16
samba-nightly)
17
+ # unset version suffix for nightly builds
18
+ samba_version_suffix=" "
16
19
get_custom_repo " http://artifacts.ci.centos.org/samba/pkgs/master/fedora/samba-nightly-master.repo"
17
20
;;
18
21
custom-repo)
@@ -26,12 +29,12 @@ dnf install --setopt=install_weak_deps=False -y \
26
29
python3-jsonschema \
27
30
python3-samba \
28
31
python3-pyxattr \
29
- samba \
30
- samba-client \
31
- samba-winbind \
32
- samba-winbind-clients \
32
+ " samba${samba_version_suffix} " \
33
+ " samba-client${samba_version_suffix} " \
34
+ " samba-winbind${samba_version_suffix} " \
35
+ " samba-winbind-clients${samba_version_suffix} " \
33
36
tdb-tools \
34
- ctdb
37
+ " ctdb${samba_version_suffix} "
35
38
dnf clean all
36
39
37
40
cp --preserve=all /etc/ctdb/functions /usr/share/ctdb/functions
You can’t perform that action at this time.
0 commit comments