SHA256
Compare commits
2
Commits
0ade18796f
...
master
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
ef76bdd8dd
|
||
|
|
873601019a
|
@@ -38,7 +38,6 @@ trap cleanup_work_dir EXIT
|
|||||||
|
|
||||||
! download_files config.example pbc && echo "Error downloading files!" >&2 && exit 10
|
! download_files config.example pbc && echo "Error downloading files!" >&2 && exit 10
|
||||||
chmod +x "$WORK_DIR/pbc"
|
chmod +x "$WORK_DIR/pbc"
|
||||||
chmod o= "$WORK_DIR/config.example"
|
|
||||||
|
|
||||||
"$WORK_DIR/pbc" install
|
"$WORK_DIR/pbc" install
|
||||||
rc=$?
|
rc=$?
|
||||||
|
|||||||
@@ -402,10 +402,8 @@ case "$action" in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$SCRIPT_DIR/config.example" ]; then
|
if [ -f "$SCRIPT_DIR/config.example" ]; then
|
||||||
if $update_pbc || [ ! -f "$ETC_DIR/config.example" ]; then
|
echo "Install example config to $ETC_DIR/config.example ..."
|
||||||
echo "Install example config to $ETC_DIR/config.example ..."
|
! install -m 0640 "$SCRIPT_DIR/config.example" "$ETC_DIR/config.example" && echo "Error installing file!" >&2 && exit 4
|
||||||
! install -m 0640 "$SCRIPT_DIR/config.example" "$ETC_DIR/config.example" && echo "Error installing file!" >&2 && exit 4
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Info: successfully installed pbc dependencies"
|
echo "Info: successfully installed pbc dependencies"
|
||||||
|
|||||||
Reference in New Issue
Block a user