mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-01 02:47:46 +00:00
feat: stop overwriting 60-custom.just for better compatibility with upstream bluebuild and downstream user builds (#409)
* feat: create addjustconfig.sh to include custom commands at buildtime * fix: 60-custom.just.readme.md to 61-custom.just.readme.md * fix: Rename 60-custom.just to 61-custom.just * feat: add just config script to enabled scripts * fix: rename to 70-secureblue.just * fix: Rename 61-custom.just.readme.md to 70-secureblue.just.readme.md * fix: rename to 70-secureblue.just
This commit is contained in:
9
files/scripts/addjustconfig.sh
Normal file
9
files/scripts/addjustconfig.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell this script to exit if there are any errors.
|
||||
# You should have this in every custom script, to ensure that your completed
|
||||
# builds actually ran successfully without any errors!
|
||||
set -oue pipefail
|
||||
|
||||
# add our just config
|
||||
echo 'import "/usr/share/ublue-os/just/70-secureblue.just"' >> /usr/share/ublue-os/justfile
|
||||
@@ -7,3 +7,4 @@ scripts:
|
||||
- createmissingdirectories.sh
|
||||
- removesuid.sh
|
||||
- disablegeoclue.sh
|
||||
- addjustconfig.sh
|
||||
|
||||
Reference in New Issue
Block a user