Skip to content
Snippets Groups Projects
Commit b0a8276d authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Adapted to Ubuntu 18.04 package generation

parent bf4b1bc0
No related branches found
No related tags found
No related merge requests found
Pipeline #6041 passed
...@@ -17,6 +17,9 @@ case "$1" in ...@@ -17,6 +17,9 @@ case "$1" in
# SERIAL TIBI: A600eByq # SERIAL TIBI: A600eByq
# SERIAL TEO: A900WSG1 # SERIAL TEO: A900WSG1
/var/lib/dpkg/info/iri-battery-monitor-dev.load_pcspkr /var/lib/dpkg/info/iri-battery-monitor-dev.load_pcspkr
echo " Trying to add library to ldconfig..."
/usr/share/iri/add_lib_to_ld_config.sh -l battery_monitor -p && echo " Done." || echo " /usr/share/iri/add_lib_to_ld_config.sh doesn't exists. Download it from iriutils and execute it."
;; ;;
abort-upgrade) abort-upgrade)
...@@ -28,4 +31,4 @@ case "$1" in ...@@ -28,4 +31,4 @@ case "$1" in
;; ;;
esac esac
exit 0 exit 0
\ No newline at end of file
...@@ -17,6 +17,9 @@ case "$1" in ...@@ -17,6 +17,9 @@ case "$1" in
# SERIAL TEO: A900WSG1 # SERIAL TEO: A900WSG1
echo "You may want to remove pcspkr from /etc/modules, which was added when this package was installed." echo "You may want to remove pcspkr from /etc/modules, which was added when this package was installed."
#/var/lib/dpkg/info/iri-battery-monitor-dev.load_pcspkr #/var/lib/dpkg/info/iri-battery-monitor-dev.load_pcspkr
echo " Trying to remove library from ldconfig..."
/usr/share/iri/remove_lib_from_ld_config.sh -l battery_monitor -p && echo " Done." || echo " /usr/share/iri/remove_lib_from_ld_config.sh doesn't exists. Download it from iriutils and execute it."
;; ;;
upgrade) upgrade)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment