[MDEV-31242] Debian post/pre install scripts are not all defaulted to Bash Created: 2023-05-11  Updated: 2023-12-04  Resolved: 2023-12-04

Status: Closed
Project: MariaDB Server
Component/s: Platform Debian
Affects Version/s: 11.0.0, 10.9, 10.10, 10.11, 11.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Tuukka Pasanen Assignee: Tuukka Pasanen
Resolution: Fixed Votes: 0
Labels: None


 Description   

Currenlty Debian post/pre install scripts vary with interpreters used (MariaDB 10.9):

mariadb-common.postinst:#!/bin/sh
mariadb-common.postrm:#!/bin/sh
mariadb-plugin-mroonga.postinst:#!/bin/sh
mariadb-server.postinst:#!/bin/bash
mariadb-server.postrm:#!/bin/bash
mysql-common.postrm:#!/bin/bash
mariadb-plugin-mroonga.prerm:#!/bin/sh
mariadb-server.preinst:#!/bin/bash -e
mariadb-server.prerm:#!/bin/sh

Easier maintenance they should be defaulted to Bash.



 Comments   
Comment by Tuukka Pasanen [ 2023-12-04 ]

This is merged

Generated at Thu Feb 08 10:22:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.