mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-05 20:07:54 +00:00
[BLD-948] write uuid to file during toolkit installation
This commit is contained in:
8
config/deb/postinst
Normal file
8
config/deb/postinst
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -e /etc/percona-toolkit/.percona.toolkit.uuid ]; then
|
||||
mkdir -p /etc/percona-toolkit
|
||||
perl -e 'printf+($}="%04x")."$}-$}-$}-$}-".$}x3,map rand 65537,0..7;' > /etc/percona-toolkit/.percona.toolkit.uuid
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
Reference in New Issue
Block a user