Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit 5e2f691

Browse files
committed
fix spec
1 parent 82d06a6 commit 5e2f691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-ec2-ssh.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.d
3838
install -m 755 import_users.sh ${RPM_BUILD_ROOT}%{_bindir}
3939
install -m 755 authorized_keys_command.sh ${RPM_BUILD_ROOT}%{_bindir}
4040
install -m 644 aws-ec2-ssh.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/aws-ec2-ssh.conf
41-
sed -i '/DONOTSYNC=0/DONOTSYNC=1/' ${RPM_BUILD_ROOT}%{_sysconfdir}/aws-ec2-ssh.conf
41+
sed -i ':DONOTSYNC=0:DONOTSYNC=1:g' ${RPM_BUILD_ROOT}%{_sysconfdir}/aws-ec2-ssh.conf
4242
echo "*/10 * * * * root /usr/bin/import_users.sh" > ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.d/import_users
4343
chmod 0644 ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.d/import_users
4444

0 commit comments

Comments
 (0)