File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 485
485
KERNEL_V="$(uname -r)"
486
486
PACKAGE="zfs"
487
487
DL_URL="https://github.com/Steini1984/unRAID6-ZFS/releases/download/$KERNEL_V"
488
- UPDATE_CHECK="$(cat &plugin; /settings.cfg | grep "check_for_updates" | cut -d '=' -f2)"
489
- UNSTABLE_BUILDS="$(cat &plugin; /settings.cfg | grep "unstable_packages" | cut -d '=' -f2)"
490
488
491
489
# Create packages directory if non existent
492
490
if [ ! -d "&packages; /${KERNEL_V%%-*}" ]; then
@@ -505,6 +503,10 @@ if [ ! "$(grep "unclean_shutdown_scrub=" &plugin;/settings.cfg)" ]; then
505
503
echo "unclean_shutdown_scrub=true" >> &plugin; /settings.cfg
506
504
fi
507
505
506
+ # Get variables for update check and unstable builds
507
+ UPDATE_CHECK="$(cat &plugin; /settings.cfg | grep "check_for_updates" | cut -d '=' -f2)"
508
+ UNSTABLE_BUILDS="$(cat &plugin; /settings.cfg | grep "unstable_packages" | cut -d '=' -f2)"
509
+
508
510
# Move old package directory to new package directory to be compliant with 6.11
509
511
if find &packages; -maxdepth 1 -type f -name "*.tgz" 2>/dev/null ; then
510
512
if [ ! -d "&packages; /${KERNEL_V%%-*}" ]; then
You can’t perform that action at this time.
0 commit comments