Skip to content

Commit

Permalink
Looking at creating Fedora/Debian packages and so wanted to create of…
Browse files Browse the repository at this point in the history
…ficial releases

from github to make that easier (and it's good for tracking).

Can't add the fcc-unlock.d directory to the package - so changed it to be a compressed
tarball instead, and modified the install script to handle that.

Signed-off-by: Mark Pearson <[email protected]>
  • Loading branch information
mrhpearson committed Jan 30, 2024
1 parent c948294 commit 4d89484
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
Binary file added fcc-unlock.d.tgz
Binary file not shown.
10 changes: 0 additions & 10 deletions fcc-unlock.d/14c3:4d75

This file was deleted.

10 changes: 0 additions & 10 deletions fcc-unlock.d/8086:7560

This file was deleted.

4 changes: 2 additions & 2 deletions fcc_unlock_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo $NAME
if [[ "$NAME" == *"$OS_UBUNTU"* ]]
then
### Copy fcc unlock script for MM
sudo cp -rvf fcc-unlock.d /usr/lib/x86_64-linux-gnu/ModemManager/.
sudo tar -zxf fcc-unlock.d.tgz -C /usr/lib/x86_64-linux-gnu/ModemManager/
sudo chmod ugo+x /usr/lib/x86_64-linux-gnu/ModemManager/fcc-unlock.d/*

### Copy libraries
Expand All @@ -28,7 +28,7 @@ then
elif [[ "$NAME" == *"$OS_FEDORA"* ]]
then
### Copy fcc unlock script for MM
sudo cp -rvf fcc-unlock.d /usr/lib64/ModemManager/.
sudo tar -zxf fcc-unlock.d.tgz -C /usr/lib64/ModemManager/
sudo chmod ugo+x /usr/lib64/ModemManager/fcc-unlock.d/*

ln -s /usr/sbin/lspci /usr/bin/lspci
Expand Down

0 comments on commit 4d89484

Please sign in to comment.