--- a/fgallery
+++ b/fgallery
@@ -20,7 +20,8 @@
 use File::Basename qw{fileparse};
 use File::Find qw{find};
 use File::Path qw{make_path remove_tree};
-use FindBin qw{$RealBin};
+#use FindBin qw{$RealBin};
+my $RealBin = "/usr/share/fgallery";
 use Getopt::Long qw{:config bundling};
 use IO::Handle;
 use Image::ExifTool qw{ImageInfo};
