From 5b9d7e47c3f1877bcffdf2aafac712451db43d61 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 24 Sep 2022 17:09:11 +0200 Subject: ma pkgs.beef: rip --- makefu/5pkgs/beef/db-in-homedir.patch | 39 ----------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 makefu/5pkgs/beef/db-in-homedir.patch (limited to 'makefu/5pkgs/beef/db-in-homedir.patch') diff --git a/makefu/5pkgs/beef/db-in-homedir.patch b/makefu/5pkgs/beef/db-in-homedir.patch deleted file mode 100644 index e8dd8e3db..000000000 --- a/makefu/5pkgs/beef/db-in-homedir.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- /beef 2018-08-16 19:03:55.199437566 +0200 -+++ /beef 2018-08-16 19:27:34.735985233 +0200 -@@ -110,9 +110,20 @@ - # - # @note Database setup - use DataMapper::Logger.new($stdout, :debug) for development debugging - # -+ -+# -+# @note Create ~/.beef/ -+# -+begin -+ FileUtils.mkdir_p($home_dir) unless File.directory?($home_dir) -+rescue => e -+ print_error "Could not create '#{$home_dir}': #{e.message}" -+end -+ - case config.get("beef.database.driver") - when "sqlite" -- DataMapper.setup(:default, "sqlite3://#{$root_dir}/#{config.get("beef.database.db_file")}") -+ print_info "Using Database #{$home_dir}/#{config.get("beef.database.db_file")}" -+ DataMapper.setup(:default, "sqlite3://#{$home_dir}/#{config.get("beef.database.db_file")}") - when "mysql", "postgres" - DataMapper.setup(:default, - :adapter => config.get("beef.database.driver"), -@@ -162,14 +173,6 @@ - BeEF::Core::Console::Banners.print_network_interfaces_count - BeEF::Core::Console::Banners.print_network_interfaces_routes - --# --# @note Create ~/.beef/ --# --begin -- FileUtils.mkdir_p($home_dir) unless File.directory?($home_dir) --rescue => e -- print_error "Could not create '#{$home_dir}': #{e.message}" --end - - # - # @note Check whether we load the Console Shell or not -- cgit v1.2.3