find icon indicating copy to clipboard operation
find copied to clipboard

Check if the zip utility is installed before any actions

Open pzhlkj6612 opened this issue 10 months ago • 1 comments

Changes Proposed in this Pull Request:

  • Check if the zip utility is installed before any actions

Additional Comments and Documentation:

Before:

$ zip
Command 'zip' not found, but can be installed with:
sudo apt install zip

$ ./build.sh -v '1.4.4'
./build.sh: Creating the build directory structure under .../find/.build...
mkdir: created directory '.../find/.build'
mkdir: created directory '.../find/.build/chr'
mkdir: created directory '.../find/.build/moz'
./build.sh: Copying project source files to build directory...
./build.sh: Updating version number in manifest to 1.4.4...
./build.sh: Packaging extension for Chrome...
./build.sh: line 109: zip: command not found
./build.sh: Packaging extension for Firefox...
./build.sh: line 116: zip: command not found

After:

$ zip
Command 'zip' not found, but can be installed with:
sudo apt install zip

$ ./build.sh -v '1.4.4'
Error: missing 'zip' utility.

.

pzhlkj6612 avatar Apr 02 '24 15:04 pzhlkj6612

@brandon1024 , a ping from late summer.

pzhlkj6612 avatar Aug 18 '24 10:08 pzhlkj6612