rbt 0.16.13 → 0.16.15

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rbt might be problematic. Click here for more details.

Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/doc/README.gen +1 -1
  4. data/doc/todo/numbered_todo_entries_for_the_RBT_project.md +2 -14
  5. data/lib/rbt/actions/individual_actions/cookbooks/sanitize_cookbook/sanitize_cookbook.rb +6 -5
  6. data/lib/rbt/actions/individual_actions/create_app_dir_skeleton/create_app_dir_skeleton.rb +1 -1
  7. data/lib/rbt/actions/individual_actions/installer/aggregate.rb +0 -111
  8. data/lib/rbt/actions/individual_actions/software_manager/actions.rb +61 -0
  9. data/lib/rbt/actions/individual_actions/software_manager/extract_related_code.rb +26 -9
  10. data/lib/rbt/actions/individual_actions/software_manager/logic_related_code.rb +59 -77
  11. data/lib/rbt/actions/individual_actions/software_manager/menu.rb +92 -94
  12. data/lib/rbt/actions/individual_actions/software_manager/misc.rb +1427 -1644
  13. data/lib/rbt/actions/individual_actions/software_manager/query_related_methods.rb +158 -22
  14. data/lib/rbt/actions/individual_actions/software_manager/reset.rb +7 -7
  15. data/lib/rbt/actions/individual_actions/software_manager/setters.rb +278 -163
  16. data/lib/rbt/version/version.rb +1 -1
  17. data/lib/rbt/yaml/cookbooks/exiv2.yml +1 -0
  18. data/lib/rbt/yaml/cookbooks/glibnetworking.yml +1 -0
  19. data/lib/rbt/yaml/cookbooks/kitinerary.yml +5 -0
  20. data/lib/rbt/yaml/cookbooks/ncurses.yml +1 -2
  21. data/lib/rbt/yaml/cookbooks/wordpress.yml +4 -2
  22. data/lib/rbt/yaml/expanded_cookbooks/cbindgen.yml +16 -13
  23. data/lib/rbt/yaml/expanded_cookbooks/erlang.yml +1 -1
  24. data/lib/rbt/yaml/expanded_cookbooks/exiv2.yml +1 -1
  25. data/lib/rbt/yaml/expanded_cookbooks/gdkpixbuf.yml +2 -2
  26. data/lib/rbt/yaml/expanded_cookbooks/kitinerary.yml +3 -3
  27. data/lib/rbt/yaml/expanded_cookbooks/libmpeg3.yml +2 -1
  28. data/lib/rbt/yaml/expanded_cookbooks/nuvie.yml +1 -1
  29. data/lib/rbt/yaml/expanded_cookbooks/qt.yml +5 -5
  30. data/lib/rbt/yaml/expanded_cookbooks/sendmail.yml +14 -7
  31. data/lib/rbt/yaml/expanded_cookbooks/sharutils.yml +1 -1
  32. data/lib/rbt/yaml/expanded_cookbooks/squashfstools.yml +3 -3
  33. data/lib/rbt/yaml/expanded_cookbooks/wordpress.yml +10 -10
  34. data/lib/rbt/yaml/programs_version/available_programs_versions.md +3 -3
  35. metadata +2 -2
@@ -356,9 +356,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
356
356
  if use_meson_configure_options?
357
357
  configure_options = meson_configure_options?.to_s.strip
358
358
  if configure_options and !configure_options.empty?
359
- # ==================================================================== #
359
+ # ================================================================== #
360
360
  # Append the meson-configure options in this case.
361
- # ==================================================================== #
361
+ # ================================================================== #
362
362
  orev "Making use of the #{royalblue('meson_configure_options')}#{rev}, "\
363
363
  "#{rev}as specified by the corresponding "\
364
364
  "#{slateblue('.yml')} #{rev}file."
@@ -638,22 +638,22 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
638
638
  can_we_continue? #and
639
639
  #!a_problem_has_occurred? and # Also check for no problem.
640
640
  #!an_error_has_occurred?
641
- # ====================================================================== #
641
+ # ==================================================================== #
642
642
  # Build up the command to run next.
643
- # ====================================================================== #
643
+ # ==================================================================== #
644
644
  cmd_to_run = 'ldconfig'.dup
645
- # ====================================================================== #
645
+ # ==================================================================== #
646
646
  # We could be verbose, but it is not that useful, so uncomment it.
647
647
  # cmd_to_run << ' -v'
648
- # ====================================================================== #
648
+ # ==================================================================== #
649
649
  # Since as of July 2011, we will be quieter and ignore whether
650
650
  # ldconfig exists or not.
651
- # ====================================================================== #
651
+ # ==================================================================== #
652
652
  cmd_to_run << " #{SHELL_ERROR_CODE}"
653
- # ====================================================================== #
653
+ # ==================================================================== #
654
654
  # Check for superuser privilege next. ldconfig requires the
655
655
  # superuser.
656
- # ====================================================================== #
656
+ # ==================================================================== #
657
657
  if is_superuser?
658
658
  orev "Now running `#{sfancy(cmd_to_run)}#{rev}`." # We output the ldconfig command variant here.
659
659
  system cmd_to_run
@@ -883,10 +883,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
883
883
  else
884
884
  run_this_command = "#{do_this_action}".dup
885
885
  if run_this_command.start_with?('python') and !run_this_command.include?('/')
886
- # ==================================================================== #
886
+ # ================================================================== #
887
887
  # This is valid for a command line such as:
888
888
  # "python setup.py config"
889
- # ==================================================================== #
889
+ # ================================================================== #
890
890
  splitted = run_this_command.split(' ')
891
891
  splitted[1].prepend(configure_base_dir?.dup)
892
892
  run_this_command = splitted.join(' ')
@@ -1100,10 +1100,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1100
1100
  if porg_is_available?
1101
1101
  use_porg = true
1102
1102
  else
1103
- # ==================================================================== #
1103
+ # ================================================================== #
1104
1104
  # Notify the user that porg is NOT available. We will continue
1105
1105
  # anyway, though.
1106
- # ==================================================================== #
1106
+ # ================================================================== #
1107
1107
  notify_the_user_that_porg_is_not_available
1108
1108
  end
1109
1109
  end
@@ -1330,9 +1330,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1330
1330
  # In this case all is fine.
1331
1331
  else
1332
1332
  compile_this_program = compile_which_program?
1333
- # ==================================================================== #
1333
+ # ================================================================== #
1334
1334
  # Else it is a not-registered binary, so report it.
1335
- # ==================================================================== #
1335
+ # ================================================================== #
1336
1336
  cliner
1337
1337
  opne crimson('The entry ')+steelblue(entry)+
1338
1338
  crimson(' is not a registered')
@@ -1341,10 +1341,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1341
1341
  crimson('.')
1342
1342
  opne olivedrab('^^^ Consider changing this. ^^^')
1343
1343
  cliner
1344
- # ==================================================================== #
1344
+ # ================================================================== #
1345
1345
  # Since as of 09.12.2019 we will also store this result into a
1346
1346
  # log file.
1347
- # ==================================================================== #
1347
+ # ================================================================== #
1348
1348
  what = "#{entry} belongs to the program called "\
1349
1349
  "#{rarrow?} #{compile_this_program}"
1350
1350
  into = "#{log_dir?}these_binaries.yml"
@@ -1674,29 +1674,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1674
1674
  end; alias do_show_the_infobox consider_showing_the_flexbox # === do_show_the_infobox
1675
1675
  alias infobox_for consider_showing_the_flexbox # === infobox_for
1676
1676
 
1677
- # ========================================================================== #
1678
- # === consider_removing_the_old_extracted_directory_if_it_exists
1679
- # ========================================================================== #
1680
- def consider_removing_the_old_extracted_directory_if_it_exists(
1681
- i = remove_archive_stuff_from_the_end(will_be_extracted_towards?)
1682
- )
1683
- i = rds(i) if i.include?('//')
1684
- # ======================================================================= #
1685
- # We also check whether the target is or appears to be under the
1686
- # log-directory that RBT uses.
1687
- # ======================================================================= #
1688
- if File.directory?(i) and i.include?(log_dir?) and !(i == '/')
1689
- if i == log_dir? # The log-directory can not be removed via this method.
1690
- orev "Can not remove #{sdir(i)}#{rev}."
1691
- else
1692
- orev "#{steelblue('Removing')}#{rev}"\
1693
- " the old, extracted directory at #{sdir(i)}"\
1694
- "#{rev} next."
1695
- remove_directory(i)
1696
- end
1697
- end
1698
- end
1699
-
1700
1677
  # ======================================================================= #
1701
1678
  # === notify_the_user_as_to_which_program_will_be_compiled_or_installed_next
1702
1679
  #
@@ -1932,6 +1909,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1932
1909
  set_cflags(:build_static)
1933
1910
  end
1934
1911
  end
1912
+ if extract_to_this_directory_as_specified_by_the_user?
1913
+ cookbook_dataset?.set_extract_to(extract_to_this_directory_as_specified_by_the_user?)
1914
+ end
1935
1915
  # ======================================================================== #
1936
1916
  # === (2) Next we will show the infobox, also called Flexbox (flexbox tag, infobox tag)
1937
1917
  #
@@ -2107,10 +2087,14 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2107
2087
  orev "`#{sfile(to)}#{rev}`,"
2108
2088
  orev 'if the extraction-step worked properly.'
2109
2089
  # ==================================================================== #
2110
- # === (5) Extracting the archive next:
2090
+ # === (5) Extracting the archive next
2091
+ #
2092
+ # We will next extract the source archive to the target directory.
2111
2093
  # ==================================================================== #
2112
- extract_what_to(local_path, File.dirname(to))
2094
+ new_target = File.dirname(to)
2095
+ extract_what_to(local_path, new_target)
2113
2096
  orev lightsalmon('The extraction-step has finished.')
2097
+ cd(to)
2114
2098
  end
2115
2099
  # ====================================================================== #
2116
2100
  # Next, exit if this was specified that way, that we only wish to
@@ -2151,9 +2135,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2151
2135
  # honour the configure_base_dir setting.
2152
2136
  # ==================================================================== #
2153
2137
  cd_into_this_directory = rds(
2154
- log_dir?+
2155
- program_name_and_program_version?+'/'+
2156
- configure_base_directory?.to_s+'/'
2138
+ "#{extract_to_this_directory?}"\
2139
+ "#{program_name_and_program_version?}/"\
2140
+ "#{configure_base_directory?.to_s}/"
2157
2141
  )
2158
2142
  unless configure_base_directory?.empty? or (configure_base_directory? == '/')
2159
2143
  orev "Entering the #{steelblue('configure-base-directory')}#{rev}"\
@@ -2242,39 +2226,27 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2242
2226
  orev sdir(build_directory_object?.path?)+rev+'.'
2243
2227
  end
2244
2228
  run_the_equivalent_configure_like_stage_for_this_program(i)
2245
- unless keep_extracted?
2246
- # ==================================================================== #
2247
- # === Remove the extracted archive / directory
2248
- #
2249
- # We have to clean-up again, by removing the extracted archive. This
2250
- # behaviour can be changed by the user, though. Additionally, the
2251
- # individual .yml file may decide for us whether we will remove the
2252
- # extracted directory or whether we will keep that directory. User
2253
- # instructions overrule the settings in the .yml file, though.
2254
- # ==================================================================== #
2255
- consider_removing_the_old_extracted_directory_if_it_exists
2256
- end
2257
2229
  # ==================================================================== #
2258
2230
  # Consider stripping the compiled binaries.
2259
2231
  # ==================================================================== #
2260
2232
  if had_to_be_compiled?
2261
- # ==================================================================== #
2233
+ # ================================================================== #
2262
2234
  # Next check whether we have to strip the compiled binaries or
2263
2235
  # whether we do not have to strip them. The checks are done
2264
2236
  # with the method itself, so we don't have to do any conditional
2265
2237
  # checks here at this point.
2266
- # ==================================================================== #
2238
+ # ================================================================== #
2267
2239
  do_strip_the_compiled_binaries
2268
- # ==================================================================== #
2240
+ # ================================================================== #
2269
2241
  # Next, we will consider creating and populating the subdirectory
2270
2242
  # called "lib/pkgconfig/". This may be necessary for programs that
2271
2243
  # install into "share/pkgconfig/" rather than "lib/pkgconfig".
2272
2244
  #
2273
2245
  # This step has to be done before we call the method
2274
2246
  # consider_symlinking_the_pkgconfig_files().
2275
- # ==================================================================== #
2247
+ # ================================================================== #
2276
2248
  consider_creating_and_populating_the_pkgconfig_directory
2277
- # ==================================================================== #
2249
+ # ================================================================== #
2278
2250
  # If the cookbook file at hand has symlinking_pkgconfig_files
2279
2251
  # enabled, and if the program is compiled, as AppDir, then we
2280
2252
  # will symlink .pc iles into /usr/lib/pkgconfig/, if the
@@ -2282,9 +2254,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2282
2254
  #
2283
2255
  # This should actually be part of the post-installation actions,
2284
2256
  # but before running ldconfig.
2285
- # ==================================================================== #
2257
+ # ================================================================== #
2286
2258
  consider_symlinking_the_pkgconfig_files
2287
- # ==================================================================== #
2259
+ # ================================================================== #
2288
2260
  # === Handle empty subdirectories
2289
2261
  #
2290
2262
  # Next we will consider removing empty subdirectories. This has to
@@ -2296,38 +2268,48 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2296
2268
  # should NOT be removed, even if they are empty - such as temp or
2297
2269
  # logs directories called during the post-installation step. So
2298
2270
  # we have to include that as well.
2299
- # ==================================================================== #
2271
+ # ================================================================== #
2300
2272
  consider_removing_empty_subdirectories
2301
- # ==================================================================== #
2273
+ # ================================================================== #
2302
2274
  # Store the time it took to compile the program at hand.
2303
- # ==================================================================== #
2275
+ # ================================================================== #
2304
2276
  store_time_snapshot
2305
2277
  consider_creating_a_log_file_containing_information_about_the_used_environment_and_time_of_compilation
2306
- # ==================================================================== #
2278
+ # ================================================================== #
2307
2279
  # Report to the user how long it took us to compile/install the program
2308
2280
  # at hand.
2309
- # ==================================================================== #
2281
+ # ================================================================== #
2310
2282
  consider_reporting_the_time_it_took_to_compile_this_program
2311
- # ==================================================================== #
2283
+ # ================================================================== #
2312
2284
  # Next register the configure-line into the configure "database",
2313
2285
  # unless a problem or error has occurred.
2314
- # ==================================================================== #
2286
+ # ================================================================== #
2315
2287
  # if no_problem_was_encountered? and
2316
2288
  # no_error_was_encountered?
2317
- # ==================================================================== #
2289
+ # ================================================================== #
2318
2290
  # Register the configure-line that was used into the "global"
2319
2291
  # configure database next - this should come before we symlink
2320
2292
  # the .pc files:
2321
- # ==================================================================== #
2293
+ # ================================================================== #
2322
2294
  register_configure_line_into_configure_database
2323
- # ==================================================================== #
2295
+ # ================================================================== #
2296
+ # === Remove the extracted archive / directory
2297
+ #
2298
+ # We have to clean-up again, by removing the extracted archive. This
2299
+ # behaviour can be changed by the user, though. Additionally, the
2300
+ # individual .yml file may decide for us whether we will remove the
2301
+ # extracted directory or whether we will keep that directory. User
2302
+ # instructions overrule the settings in the .yml file, though.
2303
+ # ================================================================== #
2304
+ consider_removing_the_extracted_source_archive_directory
2305
+ # ================================================================== #
2324
2306
  # Go back into the starting directory again.
2325
- # ==================================================================== #
2307
+ # ================================================================== #
2326
2308
  consider_entering_the_log_directory
2327
2309
  show_the_everything_is_finished_message
2328
- # ==================================================================== #
2310
+ # ================================================================== #
2329
2311
  # Show success or failure - this should come last.
2330
- # ==================================================================== #
2312
+ # ================================================================== #
2331
2313
  show_success_or_failure_status
2332
2314
  end
2333
2315
  # ==================================================================== #
@@ -37,6 +37,98 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
37
37
  else
38
38
  case i # (case tag, cas tag)
39
39
  # ===================================================================== #
40
+ # === Set extract to
41
+ #
42
+ # Specify our target directory for extracting an archive. Special
43
+ # shortcuts, such as pwd for "current working directry", also
44
+ # exist.
45
+ #
46
+ # Usage examples:
47
+ #
48
+ # ry htop --extract_to=pwd
49
+ # ry htop --base-dir=/tmp/
50
+ # ry htop --base-dir=/opt/
51
+ # ry htop --extract-to=/opt/test
52
+ # ry mesa --use-this-as-temp-dir=/opt/foo
53
+ # ry htop ntrad --use-this-temp-dir=/opt/foobar_create_it
54
+ #
55
+ # ===================================================================== #
56
+ when /^-?-?extract(_|-| )?to=(.*)$/, # === $2
57
+ /^-?-?temp(_|-| )?dir=(.*)$/, # === $2
58
+ /^-?-?use(_|-| )?temp(_|-| )?dir=(.*)$/, # === $3
59
+ /^-?-?base(_|-| )?dir=(.+)$/, # === $2
60
+ /^-?-?use(_|-| )?this(_|-| )?temp(_|-| )?directory=(.*)$/, # === $4
61
+ /^-?-?use(_|-| )?this(_|-| )?temp(_|-| )?dir=(.*)$/, # === $4
62
+ /^-?-?use(_|-| )?this(_|-| )?as(_|-| )?temp(_|-| )?dir=(.*)$/, # === $5
63
+ /^-?-?use(_|-| )?this(_|-| )?as(_|-| )?temp(_|-| )?directory=(.*)$/, # === $4
64
+ /^-?e=(.*)$/ # === $1
65
+ _ = $1.to_s.dup
66
+ _ = $2.to_s.dup if $2
67
+ _ = $3.to_s.dup if $3
68
+ _ = $4.to_s.dup if $4
69
+ _ = $5.to_s.dup if $5
70
+ set_extract_to_this_directory_as_specified_by_the_user(_)
71
+ # ===================================================================== #
72
+ # === Query where we will extract to
73
+ #
74
+ # This entry point can be used to determine where to we will extract
75
+ # archives.
76
+ #
77
+ # Invocation example:
78
+ #
79
+ # ry --extract-to?
80
+ #
81
+ # ===================================================================== #
82
+ when /^-?-?extract(-|_)?to\??$/i
83
+ report_where_archives_will_be_extracted_into
84
+ exit_program
85
+ # ===================================================================== #
86
+ # === Keep the archive extracted
87
+ #
88
+ # The user can use this entry point if he/she dodoes not want
89
+ # to delete the extracted archive again.
90
+ #
91
+ # Keep our source archive extracted:
92
+ #
93
+ # ry htop ke
94
+ #
95
+ # ===================================================================== #
96
+ when *ARRAY_HELP_KEEP_EXTRACTED_OPTIONS
97
+ do_retain_the_extracted_source_archive
98
+ # ===================================================================== #
99
+ # === Do not keep the archive
100
+ #
101
+ # After extracting and compiling, we will get rid of the archive
102
+ # again. We will get rid of the archive independent over whether
103
+ # the installation process was a success or whether it was not,
104
+ # mind you.
105
+ #
106
+ # Usage examples:
107
+ #
108
+ # ry htop --remove-archive
109
+ # ry htop dontkeeparchive
110
+ #
111
+ # ===================================================================== #
112
+ when *ARRAY_HELP_DONT_KEEP_EXTRACTED_OPTIONS
113
+ set_dont_keep_archive # Remove archive(s) after a successful build.
114
+ # ===================================================================== #
115
+ # === Do not remove empty directories
116
+ #
117
+ # This entry point exists so that we can keep empty directories
118
+ # in the respective /Programs/PROGRAM_NAME/PROGRAM_VERSION/
119
+ # subdirectory.
120
+ #
121
+ # Invocation examples:
122
+ #
123
+ # rbt feh --ntrad --do-not-remove-empty-directories
124
+ # rbt htop --ntrad --do-not-remove-empty-directories
125
+ #
126
+ # ===================================================================== #
127
+ when /^-?-?do(-|_| )?not(-|_| )?remove(-|_| )?empty(-|_| )?directories$/
128
+ opne slateblue('class RBT::SymlinkProgram')+' will '+
129
+ crimson('not')+' remove empty directories.'
130
+ symlink_program?.do_keep_empty_directories
131
+ # ===================================================================== #
40
132
  # === Generate a big shell script
41
133
  #
42
134
  # This entry point can be used to quickly generate the big
@@ -2578,22 +2670,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2578
2670
  'rall'
2579
2671
  compile_all_programs(:do_exit_afterwards) # Argument true for "shall we exit".
2580
2672
  # ===================================================================== #
2581
- # === Do not keep the archive
2582
- #
2583
- # After extracting and compiling, we will get rid of the archive
2584
- # again. We will get rid of the archive independent over whether
2585
- # the installation process was a success or whether it was not,
2586
- # mind you.
2587
- #
2588
- # Usage examples:
2589
- #
2590
- # ry htop --remove-archive
2591
- # ry htop dontkeeparchive
2592
- #
2593
- # ===================================================================== #
2594
- when *ARRAY_HELP_DONT_KEEP_EXTRACTED_OPTIONS
2595
- set_dont_keep_archive # Remove archive(s) after a successful build.
2596
- # ===================================================================== #
2597
2673
  # === Download a remote program into a given directory at hand
2598
2674
  #
2599
2675
  # This entry point allows us to download a remote program into
@@ -2724,20 +2800,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2724
2800
  pin_this_program(this_program)
2725
2801
  exit_program
2726
2802
  # ===================================================================== #
2727
- # === Query where we will extract to
2728
- #
2729
- # This entry point can be used to determine where to we will extract
2730
- # archives.
2731
- #
2732
- # Invocation example:
2733
- #
2734
- # rbt --extract-to?
2735
- #
2736
- # ===================================================================== #
2737
- when /^-?-?extract(-|_)?to\??$/i
2738
- report_where_archives_will_be_extracted_into
2739
- exit_program
2740
- # ===================================================================== #
2741
2803
  # === Query whether we are on windows
2742
2804
  #
2743
2805
  # This entry point can be quickly used to determine whether we are
@@ -4557,40 +4619,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
4557
4619
  try_to_show_the_BLFS_content_of_this_program
4558
4620
  exit_program
4559
4621
  # ===================================================================== #
4560
- # === Set extract to
4561
- #
4562
- # Specify our target directory for extracting an archive. Special
4563
- # shortcuts, such as pwd for "current working directry", also
4564
- # exist.
4565
- #
4566
- # Usage examples:
4567
- #
4568
- # ry htop --extract_to=pwd
4569
- # ry htop --base-dir=/tmp/
4570
- # ry htop --base-dir=/opt/
4571
- # ry htop --extract-to=/opt/test
4572
- # ry mesa --use-this-as-temp-dir=/opt/foo
4573
- # ry htop ntrad --use-this-temp-dir=/opt/foobar_create_it
4574
- #
4575
- # ===================================================================== #
4576
- when /^-?-?extract(_|-| )?to=(.*)$/, # === $2
4577
- /^-?-?temp(_|-| )?dir=(.*)$/, # === $2
4578
- /^-?-?use(_|-| )?temp(_|-| )?dir=(.*)$/, # === $3
4579
- /^-?-?base(_|-| )?dir=(.+)$/, # === $2
4580
- /^-?-?use(_|-| )?this(_|-| )?temp(_|-| )?directory=(.*)$/, # === $4
4581
- /^-?-?use(_|-| )?this(_|-| )?temp(_|-| )?dir=(.*)$/, # === $4
4582
- /^-?-?use(_|-| )?this(_|-| )?as(_|-| )?temp(_|-| )?dir=(.*)$/, # === $5
4583
- /^-?-?use(_|-| )?this(_|-| )?as(_|-| )?temp(_|-| )?directory=(.*)$/, # === $4
4584
- /^-?e=(.*)$/ # === $1
4585
- _ = $1.to_s.dup
4586
- _ = $2.to_s.dup if $2
4587
- _ = $3.to_s.dup if $3
4588
- _ = $4.to_s.dup if $4
4589
- _ = $5.to_s.dup if $5
4590
- set_extract_to_this_directory_as_specified_by_the_user(
4591
- _
4592
- )
4593
- # ===================================================================== #
4594
4622
  # === Show whether RBT uses ccache or whether it does not
4595
4623
  #
4596
4624
  # This entry point just queries whether RBT will be making use of
@@ -6220,23 +6248,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
6220
6248
  install_palemoon
6221
6249
  exit_program
6222
6250
  # ===================================================================== #
6223
- # === Do not remove empty directories
6224
- #
6225
- # This entry point exists so that we can keep empty directories
6226
- # in the respective /Programs/PROGRAM_NAME/PROGRAM_VERSION/
6227
- # subdirectory.
6228
- #
6229
- # Invocation examples:
6230
- #
6231
- # rbt feh --ntrad --do-not-remove-empty-directories
6232
- # rbt htop --ntrad --do-not-remove-empty-directories
6233
- #
6234
- # ===================================================================== #
6235
- when /^-?-?do(-|_| )?not(-|_| )?remove(-|_| )?empty(-|_| )?directories$/
6236
- opne slateblue('class RBT::SymlinkProgram')+' will '+
6237
- crimson('not')+' remove empty directories.'
6238
- symlink_program?.do_keep_empty_directories
6239
- # ===================================================================== #
6240
6251
  # === Perform an intelligent bootstrap-operation
6241
6252
  #
6242
6253
  # This entry point has been added in November 2020, as means to
@@ -8945,19 +8956,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
8945
8956
  when /^-?-?LC_?ALL$/i
8946
8957
  ENV['LC_ALL'] = 'C'
8947
8958
  # ===================================================================== #
8948
- # === Keep the archive extracted
8949
- #
8950
- # The user can use this entry point if he/she dodoes not want
8951
- # to delete the extracted archive again.
8952
- #
8953
- # Keep our source archive extracted:
8954
- #
8955
- # ry htop ke
8956
- #
8957
- # ===================================================================== #
8958
- when *ARRAY_HELP_KEEP_EXTRACTED_OPTIONS
8959
- do_set_keep_extracted
8960
- # ===================================================================== #
8961
8959
  # === Check for the latest program
8962
8960
  #
8963
8961
  # Check for the latest program: