Skip to content

Commit

Permalink
v4.0.1 (#139)
Browse files Browse the repository at this point in the history
Minor updates
* Adding source files check before setup
* Updating shebangs


Documentation updates
* Fixing comment
  • Loading branch information
bfren authored Jan 26, 2024
1 parent a5cb3f6 commit a135787
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0
4.0.1
3 changes: 3 additions & 0 deletions overlay/etc/bf/init.d/31-fr-setup-data.nu
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ use bf-freshrss
bf env load

def main [] {
# ensure source files exist
if (bf env FR_SRC | bf fs is_not_dir) { bf write error "FreshRSS source files cannot be found." }

# get variables
let fr_data = bf env FR_DATA
let fr_src_data = bf env FR_SRC_DATA
Expand Down
3 changes: 1 addition & 2 deletions overlay/etc/periodic/15min/fr-cron
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/command/with-contenv bash
#!/bin/sh

set -euo pipefail
export BF_E=`basename ${0}`


#======================================================================================================================
Expand Down
2 changes: 1 addition & 1 deletion overlay/tmp/install
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use bf
use bf-php

# Absolute path to WordPress source directory
# Absolute path to FreshRSS source directory
const src = "/etc/bf/src/freshrss"

def main [] {
Expand Down
1 change: 0 additions & 1 deletion overlay/usr/bin/bf/fr-cron
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/withenv sh

set -euo pipefail
export BF_E=`basename ${0}`


#======================================================================================================================
Expand Down

0 comments on commit a135787

Please sign in to comment.