Skip to content

Commit fe1bfc6

Browse files
committed
Add dependency on meson and pkexec
Note: This is only needed in Debian derivatives Provide install-samba functionality to other Debian derivatives, not just Linux Mint.
1 parent 46e949c commit fe1bfc6

2 files changed

Lines changed: 16 additions & 11 deletions

File tree

nemo-share/debian/control

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,25 @@ Source: nemo-share
22
Section: gnome
33
Priority: optional
44
Maintainer: Clement Lefebvre <[email protected]>
5-
Build-Depends: debhelper-compat (= 12),
6-
meson,
7-
libglib2.0-dev (>= 2.35.9),
8-
libnemo-extension-dev,
9-
libcinnamon-desktop-dev (>= 3.0.0)
5+
Build-Depends:
6+
debhelper-compat (= 12),
7+
libcinnamon-desktop-dev (>= 3.0.0),
8+
libglib2.0-dev (>= 2.35.9),
9+
libnemo-extension-dev,
10+
meson,
1011
Standards-Version: 3.9.6
1112

1213
Package: nemo-share
1314
Architecture: any
14-
Depends: nemo,
15-
samba-common (>= 3.0.27a),
16-
samba-common-bin | samba-common (<< 2:3.4.0~pre2-1~0),
17-
gir1.2-cinnamondesktop-3.0,
18-
${shlibs:Depends}, ${misc:Depends},
15+
Depends:
16+
${misc:Depends},
17+
${shlibs:Depends},
18+
aptkit,
19+
gir1.2-cinnamondesktop-3.0,
20+
nemo,
21+
pkexec,
22+
samba-common (>= 3.0.27a),
23+
samba-common-bin | samba-common (<< 2:3.4.0~pre2-1~0),
1924
Enhances: nemo
2025
Suggests: samba (>= 3.0.27a)
2126
Description: Nemo extension to share folder using Samba

nemo-share/src/nemo-share.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ create_property_page (NemoFileInfo *fileinfo)
896896
gtk_widget_show (page->samba_infobar);
897897
gtk_widget_set_sensitive (page->switch_share_folder, FALSE);
898898

899-
if (!g_find_program_in_path("mint-remove-application")) {
899+
if (!g_find_program_in_path("aptk")) {
900900
gtk_widget_hide (page->install_samba_button);
901901
}
902902
} else {

0 commit comments

Comments
 (0)